summaryrefslogtreecommitdiff
path: root/recipes/gcc/gcc-cross-intermediate.inc
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-11-12 03:08:38 +0300
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-11-12 03:08:38 +0300
commitde8ffe4113d99413430db87830837042920a3ed9 (patch)
tree75436606c5fea6876dc0464965db02448b27e70d /recipes/gcc/gcc-cross-intermediate.inc
parentbf132a8996db2e75ce4d9e754ea50fa487c52160 (diff)
parent98c4cef80ccac7e109e8479ac3902b6ef24ff16f (diff)
Merge commit 'origin/org.openembedded.dev' into org.openembedded.dev
Diffstat (limited to 'recipes/gcc/gcc-cross-intermediate.inc')
-rw-r--r--recipes/gcc/gcc-cross-intermediate.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/gcc/gcc-cross-intermediate.inc b/recipes/gcc/gcc-cross-intermediate.inc
index 4746140346..ccfa2b44b8 100644
--- a/recipes/gcc/gcc-cross-intermediate.inc
+++ b/recipes/gcc/gcc-cross-intermediate.inc
@@ -5,7 +5,7 @@ PACKAGES = ""
# This is intended to be a -very- basic config
# sysroot is needed in case we use libc-initial
-EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${layout_prefix} \
+EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \
--enable-shared \
--disable-multilib \
--disable-threads \
@@ -18,8 +18,8 @@ EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${layout_prefix} \
do_stage_append () {
# get rid of dummy libc.so
- if [ -z "`file ${STAGING_DIR_TARGET}${layout_libdir}/libc.so | grep "ASCII C program text"`" ]; then
- rm -rf ${STAGING_DIR_TARGET}${layout_libdir}/libc.so
+ if [ -z "`file ${STAGING_DIR_TARGET}${target_libdir}/libc.so | grep "ASCII C program text"`" ]; then
+ rm -rf ${STAGING_DIR_TARGET}${target_libdir}/libc.so
fi
}