summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-22 09:33:11 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-22 18:30:06 +0100
commit7a9202d0478f0021b0ecd03b8d4af8d56c8e3265 (patch)
treebbf1a422619bbd6b67a986cf066c876335d89201
parenta77a8011e56f7cddf22adc63270aa9f44c86062a (diff)
downloadopenembedded-core-7a9202d0478f0021b0ecd03b8d4af8d56c8e3265.tar.gz
openembedded-core-7a9202d0478f0021b0ecd03b8d4af8d56c8e3265.tar.bz2
openembedded-core-7a9202d0478f0021b0ecd03b8d4af8d56c8e3265.zip
gcc-cross-initial: Fold common configuration into gcc-cross-initial.inc
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-initial.inc2
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.7.bb1
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.8.bb1
3 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial.inc b/meta/recipes-devtools/gcc/gcc-cross-initial.inc
index 1ac1db6eac..81845386f9 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-initial.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-initial.inc
@@ -24,6 +24,8 @@ EXTRA_OECONF = "--with-newlib \
${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--with-ld=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}ld.bfd', '', d)} \
${EXTRA_OECONF_FPU}"
+EXTRA_OECONF += " --with-native-system-header-dir=${SYSTEMHEADERS} "
+
GCCCROSS_BUILDSYSROOT = "${B}/tmpsysroot"
do_configure_prepend () {
diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.7.bb b/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.7.bb
index 39c90ca0a8..fd90e1140f 100644
--- a/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.7.bb
+++ b/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.7.bb
@@ -1,4 +1,3 @@
require recipes-devtools/gcc/gcc-cross-initial_${PV}.bb
require gcc-crosssdk-initial.inc
-EXTRA_OECONF += " --with-native-system-header-dir=${SYSTEMHEADERS} "
diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.8.bb b/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.8.bb
index 39c90ca0a8..fd90e1140f 100644
--- a/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.8.bb
+++ b/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.8.bb
@@ -1,4 +1,3 @@
require recipes-devtools/gcc/gcc-cross-initial_${PV}.bb
require gcc-crosssdk-initial.inc
-EXTRA_OECONF += " --with-native-system-header-dir=${SYSTEMHEADERS} "