summaryrefslogtreecommitdiff
path: root/recipes/klibc/klibc.inc
diff options
context:
space:
mode:
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"