[oe-commits] Khem Raj : gcc-crosssdk-intermediate: Use --with-native-system-header-dir for 4.7

git at git.openembedded.org git at git.openembedded.org
Mon Apr 30 10:42:36 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 2f7ac32b57e047cdaf01e0b6f77509117dbbd14c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=2f7ac32b57e047cdaf01e0b6f77509117dbbd14c

Author: Khem Raj <raj.khem at gmail.com>
Date:   Thu Mar 22 15:53:05 2012 -0700

gcc-crosssdk-intermediate: Use --with-native-system-header-dir for 4.7

--with-native-system-header-dir is relative to sysroot which
is what we want --with-headers is deprecated anyway

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 .../gcc/gcc-crosssdk-intermediate.inc              |    2 --
 .../gcc/gcc-crosssdk-intermediate_4.6.bb           |    1 +
 .../gcc/gcc-crosssdk-intermediate_4.7.bb           |    1 +
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk-intermediate.inc b/meta/recipes-devtools/gcc/gcc-crosssdk-intermediate.inc
index 8f20d20..ed5d5e8 100644
--- a/meta/recipes-devtools/gcc/gcc-crosssdk-intermediate.inc
+++ b/meta/recipes-devtools/gcc/gcc-crosssdk-intermediate.inc
@@ -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} "
diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.6.bb b/meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.6.bb
index c7233af..3820cb6 100644
--- a/meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.6.bb
+++ b/meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.6.bb
@@ -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} "
diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.7.bb b/meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.7.bb
index 1aa588a..3278898 100644
--- a/meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.7.bb
+++ b/meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.7.bb
@@ -1,2 +1,3 @@
 require gcc-cross-intermediate_${PV}.bb
 require gcc-crosssdk-intermediate.inc
+EXTRA_OECONF += " --with-native-system-header-dir=${SYSTEMHEADERS} "





More information about the Openembedded-commits mailing list