summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-06-08 20:32:44 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-06-08 20:32:44 +0100
commitd579b7c746b7113d5a4867b851ed2dc7733299a8 (patch)
treec17ddface37dac4225fc1da618c222773b5a9b0d
parente77506b171e4e4b284e6fac4b610bf3594810b86 (diff)
downloadopenembedded-core-d579b7c746b7113d5a4867b851ed2dc7733299a8.tar.gz
openembedded-core-d579b7c746b7113d5a4867b851ed2dc7733299a8.tar.bz2
openembedded-core-d579b7c746b7113d5a4867b851ed2dc7733299a8.zip
gcc-configure-sdk.inc: local-prefix should be in SDKPATH, not a build patch
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/packages/gcc/gcc-configure-sdk.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/packages/gcc/gcc-configure-sdk.inc b/meta/packages/gcc/gcc-configure-sdk.inc
index 3803902a58..acf8a3cde4 100644
--- a/meta/packages/gcc/gcc-configure-sdk.inc
+++ b/meta/packages/gcc/gcc-configure-sdk.inc
@@ -4,7 +4,7 @@ require gcc-configure-common.inc
USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}'
USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibcgnueabi", "no", "", d )}'
-EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \
+EXTRA_OECONF_PATHS = "--with-local-prefix=${SDKPATH}/${TARGET_SYS}${target_exec_prefix} \
--with-gxx-include-dir=${prefix}/${TARGET_SYS}${target_includedir}/c++/${BINV}/ \
--with-build-time-tools=${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin \
--with-sysroot=${prefix}/${TARGET_SYS} \