]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
gcc-target: Combine gcc-target-configure.inc, gcc-target-package.inc and other common...
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Aug 2013 09:43:59 +0000 (09:43 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Aug 2013 17:30:06 +0000 (18:30 +0100)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-configure-target.inc [deleted file]
meta/recipes-devtools/gcc/gcc-target.inc [moved from meta/recipes-devtools/gcc/gcc-package-target.inc with 90% similarity]
meta/recipes-devtools/gcc/gcc_4.7.bb
meta/recipes-devtools/gcc/gcc_4.8.bb

diff --git a/meta/recipes-devtools/gcc/gcc-configure-target.inc b/meta/recipes-devtools/gcc/gcc-configure-target.inc
deleted file mode 100644 (file)
index 5f608d6..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-GCCMULTILIB = "--enable-multilib"
-require gcc-configure-common.inc
-
-EXTRA_OECONF_PATHS = " \
-    --with-sysroot=/ \
-    --with-build-sysroot=${STAGING_DIR_TARGET} \
-    --with-native-system-header-dir=${STAGING_DIR_TARGET}${target_includedir} \
-    --with-gxx-include-dir=${includedir}/c++/ --enable-dependency-tracking"
similarity index 90%
rename from meta/recipes-devtools/gcc/gcc-package-target.inc
rename to meta/recipes-devtools/gcc/gcc-target.inc
index 95a92c1f9115bb36d9c73102e5d318a77119d79f..150fbba4198bf45859290b9893e7e6afa45b8281 100644 (file)
@@ -1,3 +1,14 @@
+GCCMULTILIB = "--enable-multilib"
+require gcc-configure-common.inc
+
+EXTRA_OECONF_PATHS = " \
+    --with-sysroot=/ \
+    --with-build-sysroot=${STAGING_DIR_TARGET} \
+    --with-native-system-header-dir=${STAGING_DIR_TARGET}${target_includedir} \
+    --with-gxx-include-dir=${includedir}/c++/ --enable-dependency-tracking"
+
+ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR} -I${B}/gcc/include/ "
+
 PACKAGES = "\
   ${PN} ${PN}-plugins ${PN}-symlinks \
   g++ g++-symlinks \
index f68c67a40383eee516774bcefc1eea302a2222ac..0ae22e8fa3b3b72ce37b5ad2cb91ccff6d837d9a 100644 (file)
@@ -1,5 +1,2 @@
 require recipes-devtools/gcc/gcc-${PV}.inc
-require gcc-configure-target.inc
-require gcc-package-target.inc
-
-ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR} -I${B}/gcc/include/ "
+require gcc-target.inc
index f68c67a40383eee516774bcefc1eea302a2222ac..0ae22e8fa3b3b72ce37b5ad2cb91ccff6d837d9a 100644 (file)
@@ -1,5 +1,2 @@
 require recipes-devtools/gcc/gcc-${PV}.inc
-require gcc-configure-target.inc
-require gcc-package-target.inc
-
-ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR} -I${B}/gcc/include/ "
+require gcc-target.inc