aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-08-08 14:54:23 -0700
committerKhem Raj <raj.khem@gmail.com>2010-08-08 14:57:32 -0700
commit78359b165e60f54ed50efd79da516b0ae6a70362 (patch)
tree1f6c58557ebfbc2531a26c0194315889434db80d
parenteb1330165b3866f798985e7a71cabca012524321 (diff)
downloadopenembedded-78359b165e60f54ed50efd79da516b0ae6a70362.tar.gz
openembedded-78359b165e60f54ed50efd79da516b0ae6a70362.tar.bz2
openembedded-78359b165e60f54ed50efd79da516b0ae6a70362.zip
klibc: Get rid of legacy staging.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--recipes/klibc/klibc-1.5.18.inc1
-rw-r--r--recipes/klibc/klibc.inc10
2 files changed, 4 insertions, 7 deletions
diff --git a/recipes/klibc/klibc-1.5.18.inc b/recipes/klibc/klibc-1.5.18.inc
index 5084683f9d..9c0ff760d1 100644
--- a/recipes/klibc/klibc-1.5.18.inc
+++ b/recipes/klibc/klibc-1.5.18.inc
@@ -31,4 +31,5 @@ do_install_append() {
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/dmesg ${D}${base_bindir}
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/sync ${D}${base_bindir}
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/ls ${D}${base_bindir}
+ install -m 755 klcc/klcc ${D}${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}klcc
}
diff --git a/recipes/klibc/klibc.inc b/recipes/klibc/klibc.inc
index a40a45c567..59f4a5c893 100644
--- a/recipes/klibc/klibc.inc
+++ b/recipes/klibc/klibc.inc
@@ -5,16 +5,12 @@ do_install() {
install -d ${D}${base_libdir}
install -m 755 usr/klibc/klibc-*.so ${D}${base_libdir}
- cd ${D}${base_libdir}
- ln -s klibc-*.so klibc.so
- cd -
+ install -d ${D}${TOOLCHAIN_PATH}/bin/
+ install -m 755 klcc/klcc '${D}${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}klcc'
+ (cd ${D}${base_libdir}; ln -s klibc-*.so klibc.so)
}
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"