summaryrefslogtreecommitdiff
path: root/recipes/klibc/klibc.inc
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2010-08-06 01:42:01 +0200
committerAndrea Adami <andrea.adami@gmail.com>2010-08-06 01:43:32 +0200
commit34f2f07769fe31db2a2224183377c9ff27c886f7 (patch)
tree523060d93d00e5c5905f213326e537b2e6383023 /recipes/klibc/klibc.inc
parent7058b8b5dda8a6ce31e79c5253bb38789077c3ef (diff)
Revert "klibc: get rid of legacy staging"
* committed broken version with evil install * WIP This reverts commit b32ce2a63973fdf72d1ffe94b8418ec214cb2b20.
Diffstat (limited to 'recipes/klibc/klibc.inc')
-rw-r--r--recipes/klibc/klibc.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/recipes/klibc/klibc.inc b/recipes/klibc/klibc.inc
index eed29edd1c..a40a45c567 100644
--- a/recipes/klibc/klibc.inc
+++ b/recipes/klibc/klibc.inc
@@ -3,9 +3,6 @@ do_install() {
install -m 755 usr/dash/sh.${KLIBC_UTILS_VARIANT} ${D}${base_bindir}/sh
install -m 755 usr/kinit/kinit.${KLIBC_UTILS_VARIANT} ${D}${base_bindir}/kinit
- oe_runmake install
- install -m 755 klcc/klcc ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}klcc
-
install -d ${D}${base_libdir}
install -m 755 usr/klibc/klibc-*.so ${D}${base_libdir}
cd ${D}${base_libdir}
@@ -14,6 +11,10 @@ do_install() {
}
export INST=${STAGING_DIR_TARGET}
+do_stage() {
+ oe_runmake install
+ cp '${STAGING_DIR_TARGET}/bin/klcc' '${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}klcc'
+}
PACKAGES = "${PN} ${PN}-dev "
FILES_${PN} = "${base_libdir}/klibc-*.so"