summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-22 09:36:03 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-23 16:20:12 +0100
commit697102321e0aa81ac670464259167315d8b27975 (patch)
treeb5719bdb0e7be84f6e3aedb3ad324dfdc40d547a
parentc5530199af79ca8d292a8ca50f38d83cade4fe03 (diff)
downloadpoky-697102321e0aa81ac670464259167315d8b27975.tar.gz
gcc-runtime: Fold common configuration into gcc-configure-runtime.inc
(From OE-Core rev: 17ba68f9ae09ae20eb11dfb03bcaa99428b74bf6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-runtime.inc5
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime_4.7.bb4
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime_4.8.bb4
3 files changed, 5 insertions, 8 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
index f89ca6bbad..2ff8561e0d 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
@@ -7,6 +7,11 @@ EXTRA_OECONF_PATHS = " \
7 --with-sysroot=${STAGING_DIR_TARGET} \ 7 --with-sysroot=${STAGING_DIR_TARGET} \
8 --with-build-sysroot=${STAGING_DIR_TARGET}" 8 --with-build-sysroot=${STAGING_DIR_TARGET}"
9 9
10ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"
11
12EXTRA_OECONF += "--disable-libunwind-exceptions"
13EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
14
10RUNTIMETARGET = "libssp libstdc++-v3 libgomp" 15RUNTIMETARGET = "libssp libstdc++-v3 libgomp"
11# ? 16# ?
12# libiberty 17# libiberty
diff --git a/meta/recipes-devtools/gcc/gcc-runtime_4.7.bb b/meta/recipes-devtools/gcc/gcc-runtime_4.7.bb
index fbaf057fed..c16d27eecd 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime_4.7.bb
+++ b/meta/recipes-devtools/gcc/gcc-runtime_4.7.bb
@@ -2,7 +2,3 @@ require recipes-devtools/gcc/gcc-${PV}.inc
2require gcc-configure-runtime.inc 2require gcc-configure-runtime.inc
3require gcc-package-runtime.inc 3require gcc-package-runtime.inc
4 4
5ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"
6
7EXTRA_OECONF += "--disable-libunwind-exceptions"
8EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
diff --git a/meta/recipes-devtools/gcc/gcc-runtime_4.8.bb b/meta/recipes-devtools/gcc/gcc-runtime_4.8.bb
index fbaf057fed..c16d27eecd 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime_4.8.bb
+++ b/meta/recipes-devtools/gcc/gcc-runtime_4.8.bb
@@ -2,7 +2,3 @@ require recipes-devtools/gcc/gcc-${PV}.inc
2require gcc-configure-runtime.inc 2require gcc-configure-runtime.inc
3require gcc-package-runtime.inc 3require gcc-package-runtime.inc
4 4
5ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"
6
7EXTRA_OECONF += "--disable-libunwind-exceptions"
8EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"