]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc-configure-sdk: Point sysroot to correct location
authorKhem Raj <raj.khem@gmail.com>
Fri, 21 Oct 2011 05:28:42 +0000 (22:28 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 24 Oct 2011 12:25:52 +0000 (13:25 +0100)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/recipes-devtools/gcc/gcc-configure-sdk.inc

index de80870310ceca1bbab31971a7179f44f8ce30c2..f130b4757bb589b217233718b0dbf17d51c58c06 100644 (file)
@@ -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}"
 
 #