gcc-crosssdk-intermediate: Use --with-native-system-header-dir for 4.7
authorKhem Raj <raj.khem@gmail.com>
Thu, 22 Mar 2012 22:53:05 +0000 (15:53 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Apr 2012 10:37:25 +0000 (11:37 +0100)
--with-native-system-header-dir is relative to sysroot which
is what we want --with-headers is deprecated anyway

(From OE-Core rev: 2f7ac32b57e047cdaf01e0b6f77509117dbbd14c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-crosssdk-intermediate.inc
meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.6.bb
meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.7.bb

index 8f20d20..ed5d5e8 100644 (file)
@@ -7,5 +7,3 @@ SYSTEMLIBS1 = "${SDKPATHNATIVE}${libdir_nativesdk}/"
 DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk gettext-native"
 DEPENDS += "virtual/${TARGET_PREFIX}libc-initial-nativesdk"
 PROVIDES = "virtual/${TARGET_PREFIX}gcc-intermediate-crosssdk"
-
-EXTRA_OECONF += " --with-headers=${STAGING_DIR_TCBOOTSTRAP}${SYSTEMHEADERS} "
index c7233af..3820cb6 100644 (file)
@@ -1,2 +1,3 @@
 require recipes-devtools/gcc/gcc-cross-intermediate_${PV}.bb
 require gcc-crosssdk-intermediate.inc
+EXTRA_OECONF += " --with-headers=${STAGING_DIR_TCBOOTSTRAP}${SYSTEMHEADERS} "
index 1aa588a..3278898 100644 (file)
@@ -1,2 +1,3 @@
 require gcc-cross-intermediate_${PV}.bb
 require gcc-crosssdk-intermediate.inc
+EXTRA_OECONF += " --with-native-system-header-dir=${SYSTEMHEADERS} "