summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-configure-sdk.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-10-20 22:28:42 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-24 13:25:52 +0100
commitc9883733fed9267b1a936c08500a4caf8dc52d3d (patch)
tree7f71f00247bc9b2a818e9a558a1d4cc02cc22ab0 /meta/recipes-devtools/gcc/gcc-configure-sdk.inc
parentb8dad4ab77f5516bc6929e2ed094fdc62a5a52db (diff)
downloadopenembedded-core-contrib-c9883733fed9267b1a936c08500a4caf8dc52d3d.tar.gz
gcc-configure-sdk: Point sysroot to correct location
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-configure-sdk.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-sdk.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-sdk.inc b/meta/recipes-devtools/gcc/gcc-configure-sdk.inc
index de80870310..f130b4757b 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-sdk.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-sdk.inc
@@ -4,10 +4,10 @@ require gcc-configure-common.inc
USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}'
USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibceabi", "no", "", d )}'
-EXTRA_OECONF_PATHS = "--with-local-prefix=${SDKPATH}/sysroots/${TARGET_SYS}${target_exec_prefix} \
+EXTRA_OECONF_PATHS = "--with-local-prefix=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}${target_exec_prefix} \
--with-gxx-include-dir=${target_includedir}/c++ \
--with-build-time-tools=${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin \
- --with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \
+ --with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \
--with-build-sysroot=${STAGING_DIR_TARGET}"
#