Skip to contentSkip to conversation

gcc-4.6: Update to match gcc restructing in OE-Core

PATCH Applied Khem Raj 2 participants 2 messages Aug 28, 2013 – Sep 3, 2013

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 gcc-4.6: Update to match gcc restructing in OE-Core

The include file infra in gcc recipes recieved an overhaul on OE-Core. This patch matches the toolchain layer recipes to use the new include files

---
 .../recipes-devtools/gcc/gcc-cross-canadian_4.6.bb    | 19 -------------------
 toolchain-layer/recipes-devtools/gcc/gcc-cross_4.6.bb |  8 +-------
 .../recipes-devtools/gcc/gcc-runtime_4.6.bb           |  8 +-------
 toolchain-layer/recipes-devtools/gcc/gcc_4.6.bb       |  5 +----
 4 files changed, 3 insertions(+), 37 deletions(-)
toolchain-layer/recipes-devtools/gcc/gcc-cross-canadian_4.6.bb +0 -19
index 5c2435f..29ddd67 100644
@@ -2,22 +2,3 @@ inherit cross-canadian
 
 require recipes-devtools/gcc/gcc-${PV}.inc
 require recipes-devtools/gcc/gcc-cross-canadian.inc
-require recipes-devtools/gcc/gcc-configure-sdk.inc
-require recipes-devtools/gcc/gcc-package-sdk.inc
-
-DEPENDS += "nativesdk-gmp nativesdk-mpfr nativesdk-libmpc nativesdk-elfutils"
-RDEPENDS_${PN} += "nativesdk-mpfr nativesdk-libmpc nativesdk-elfutils"
-
-SYSTEMHEADERS = "/usr/include"
-SYSTEMLIBS = "/lib/"
-SYSTEMLIBS1 = "/usr/lib/"
-
-EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
-    --disable-libgomp --disable-libmudflap \
-    --with-mpfr=${STAGING_DIR_HOST}${layout_exec_prefix} \
-    --with-mpc=${STAGING_DIR_HOST}${layout_exec_prefix}"
-
-# to find libmpfr
-# export LD_LIBRARY_PATH = "{STAGING_DIR_HOST}${layout_exec_prefix}"
-
-PARALLEL_MAKE = ""
toolchain-layer/recipes-devtools/gcc/gcc-cross_4.6.bb +1 -7
index eb8896c..cdaa7e8 100644
@@ -1,8 +1,2 @@
 require recipes-devtools/gcc/gcc-${PV}.inc
-require recipes-devtools/gcc/gcc-cross4.inc
-
-EXTRA_OECONF += "--disable-libunwind-exceptions \
-                 --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} \
-                 --with-system-zlib "
-
-ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
+require recipes-devtools/gcc/gcc-cross.inc
toolchain-layer/recipes-devtools/gcc/gcc-runtime_4.6.bb +1 -7
index 13431c8..b755f55 100644
@@ -1,8 +1,2 @@
 require recipes-devtools/gcc/gcc-${PV}.inc
-require recipes-devtools/gcc/gcc-configure-runtime.inc
-require recipes-devtools/gcc/gcc-package-runtime.inc
-
-ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"
-
-EXTRA_OECONF += "--disable-libunwind-exceptions"
-EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
+require recipes-devtools/gcc/gcc-runtime.inc
toolchain-layer/recipes-devtools/gcc/gcc_4.6.bb +1 -4
index 97e6c32..6ad8973 100644
@@ -1,5 +1,2 @@
 require recipes-devtools/gcc/gcc-${PV}.inc
-require recipes-devtools/gcc/gcc-configure-target.inc
-require recipes-devtools/gcc/gcc-package-target.inc
-
-ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"
+require recipes-devtools/gcc/gcc-target.inc
Signature · 1 line
1.8.4
Applied
#1 lore raw
Quoted 3 lines · Khem Raj

The include file infra in gcc recipes recieved an overhaul on OE-Core. This patch matches the toolchain layer recipes to use the new include files

Applied, thanks!

Quoted 82 lines
---
 .../recipes-devtools/gcc/gcc-cross-canadian_4.6.bb    | 19 -------------------
 toolchain-layer/recipes-devtools/gcc/gcc-cross_4.6.bb |  8 +-------
 .../recipes-devtools/gcc/gcc-runtime_4.6.bb           |  8 +-------
 toolchain-layer/recipes-devtools/gcc/gcc_4.6.bb       |  5 +----
 4 files changed, 3 insertions(+), 37 deletions(-)
toolchain-layer/recipes-devtools/gcc/gcc-cross-canadian_4.6.bb +0 -19
index 5c2435f..29ddd67 100644
@@ -2,22 +2,3 @@ inherit cross-canadian
 
 require recipes-devtools/gcc/gcc-${PV}.inc
 require recipes-devtools/gcc/gcc-cross-canadian.inc
-require recipes-devtools/gcc/gcc-configure-sdk.inc
-require recipes-devtools/gcc/gcc-package-sdk.inc
-
-DEPENDS += "nativesdk-gmp nativesdk-mpfr nativesdk-libmpc nativesdk-elfutils"
-RDEPENDS_${PN} += "nativesdk-mpfr nativesdk-libmpc nativesdk-elfutils"
-
-SYSTEMHEADERS = "/usr/include"
-SYSTEMLIBS = "/lib/"
-SYSTEMLIBS1 = "/usr/lib/"
-
-EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
-    --disable-libgomp --disable-libmudflap \
-    --with-mpfr=${STAGING_DIR_HOST}${layout_exec_prefix} \
-    --with-mpc=${STAGING_DIR_HOST}${layout_exec_prefix}"
-
-# to find libmpfr
-# export LD_LIBRARY_PATH = "{STAGING_DIR_HOST}${layout_exec_prefix}"
-
-PARALLEL_MAKE = ""
toolchain-layer/recipes-devtools/gcc/gcc-cross_4.6.bb +1 -7
index eb8896c..cdaa7e8 100644
@@ -1,8 +1,2 @@
 require recipes-devtools/gcc/gcc-${PV}.inc
-require recipes-devtools/gcc/gcc-cross4.inc
-
-EXTRA_OECONF += "--disable-libunwind-exceptions \
-                 --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} \
-                 --with-system-zlib "
-
-ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
+require recipes-devtools/gcc/gcc-cross.inc
toolchain-layer/recipes-devtools/gcc/gcc-runtime_4.6.bb +1 -7
index 13431c8..b755f55 100644
@@ -1,8 +1,2 @@
 require recipes-devtools/gcc/gcc-${PV}.inc
-require recipes-devtools/gcc/gcc-configure-runtime.inc
-require recipes-devtools/gcc/gcc-package-runtime.inc
-
-ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"
-
-EXTRA_OECONF += "--disable-libunwind-exceptions"
-EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
+require recipes-devtools/gcc/gcc-runtime.inc
toolchain-layer/recipes-devtools/gcc/gcc_4.6.bb +1 -4
index 97e6c32..6ad8973 100644
@@ -1,5 +1,2 @@
 require recipes-devtools/gcc/gcc-${PV}.inc
-require recipes-devtools/gcc/gcc-configure-target.inc
-require recipes-devtools/gcc/gcc-package-target.inc
-
-ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"
+require recipes-devtools/gcc/gcc-target.inc
Signature · 6 lines
1.8.4

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]