summaryrefslogtreecommitdiff
path: root/recipes/dietlibc/dietlibc.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/dietlibc/dietlibc.inc')
-rw-r--r--recipes/dietlibc/dietlibc.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/dietlibc/dietlibc.inc b/recipes/dietlibc/dietlibc.inc
index a1537e1d61..64bc6be96d 100644
--- a/recipes/dietlibc/dietlibc.inc
+++ b/recipes/dietlibc/dietlibc.inc
@@ -29,12 +29,12 @@ do_stage () {
DIETLIBC_BUILD_ARCH=`echo ${BUILD_ARCH} | sed -e s'/.86/386/'`
DIETLIBC_TARGET_ARCH=`echo ${TARGET_ARCH} | sed -e s'/.86/386/'`
rm -rf ${STAGING_DIR_TARGET}/lib/dietlibc || true
- rm ${STAGING_DIR_NATIVE}${prefix_native}/bin/diet || true
+ rm ${TOOLCHAIN_PATH}/bin/diet || true
install -d ${STAGING_DIR_TARGET}/lib/dietlibc/lib-${DIETLIBC_TARGET_ARCH}
install -d ${STAGING_DIR_TARGET}/lib/dietlibc/include
for i in `find include -name \*.h`; do install -m 644 -D $i ${STAGING_DIR_TARGET}/lib/dietlibc/$i; done
- install -m755 bin-${DIETLIBC_BUILD_ARCH}/diet-i ${STAGING_DIR_NATIVE}${prefix_native}/bin/diet
+ install -m755 bin-${DIETLIBC_BUILD_ARCH}/diet-i ${TOOLCHAIN_PATH}/bin/diet
cd bin-${DIETLIBC_TARGET_ARCH}
install -m 644 start.o libm.a libpthread.a librpc.a \