diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-22 09:43:59 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-23 16:20:13 +0100 |
commit | 0dfc8aabef0fe17bf9c920c30d2ea94fd926cc9d (patch) | |
tree | 2995a07a20644b6b645af2f490f3e2ca7d0b1f18 /meta | |
parent | deae329c3c651766fced7c2317bfcf07de068dff (diff) | |
download | poky-0dfc8aabef0fe17bf9c920c30d2ea94fd926cc9d.tar.gz |
gcc-target: Combine gcc-target-configure.inc, gcc-target-package.inc and other common code
(From OE-Core rev: 86bbe5b7b8e8f0c6ee88888fa083053ae14765c4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-target.inc | 8 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-target.inc (renamed from meta/recipes-devtools/gcc/gcc-package-target.inc) | 11 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc_4.7.bb | 5 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc_4.8.bb | 5 |
4 files changed, 13 insertions, 16 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-target.inc b/meta/recipes-devtools/gcc/gcc-configure-target.inc deleted file mode 100644 index 5f608d6bdf..0000000000 --- a/meta/recipes-devtools/gcc/gcc-configure-target.inc +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | GCCMULTILIB = "--enable-multilib" | ||
2 | require gcc-configure-common.inc | ||
3 | |||
4 | EXTRA_OECONF_PATHS = " \ | ||
5 | --with-sysroot=/ \ | ||
6 | --with-build-sysroot=${STAGING_DIR_TARGET} \ | ||
7 | --with-native-system-header-dir=${STAGING_DIR_TARGET}${target_includedir} \ | ||
8 | --with-gxx-include-dir=${includedir}/c++/ --enable-dependency-tracking" | ||
diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc index 95a92c1f91..150fbba419 100644 --- a/meta/recipes-devtools/gcc/gcc-package-target.inc +++ b/meta/recipes-devtools/gcc/gcc-target.inc | |||
@@ -1,3 +1,14 @@ | |||
1 | GCCMULTILIB = "--enable-multilib" | ||
2 | require gcc-configure-common.inc | ||
3 | |||
4 | EXTRA_OECONF_PATHS = " \ | ||
5 | --with-sysroot=/ \ | ||
6 | --with-build-sysroot=${STAGING_DIR_TARGET} \ | ||
7 | --with-native-system-header-dir=${STAGING_DIR_TARGET}${target_includedir} \ | ||
8 | --with-gxx-include-dir=${includedir}/c++/ --enable-dependency-tracking" | ||
9 | |||
10 | ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR} -I${B}/gcc/include/ " | ||
11 | |||
1 | PACKAGES = "\ | 12 | PACKAGES = "\ |
2 | ${PN} ${PN}-plugins ${PN}-symlinks \ | 13 | ${PN} ${PN}-plugins ${PN}-symlinks \ |
3 | g++ g++-symlinks \ | 14 | g++ g++-symlinks \ |
diff --git a/meta/recipes-devtools/gcc/gcc_4.7.bb b/meta/recipes-devtools/gcc/gcc_4.7.bb index f68c67a403..0ae22e8fa3 100644 --- a/meta/recipes-devtools/gcc/gcc_4.7.bb +++ b/meta/recipes-devtools/gcc/gcc_4.7.bb | |||
@@ -1,5 +1,2 @@ | |||
1 | require recipes-devtools/gcc/gcc-${PV}.inc | 1 | require recipes-devtools/gcc/gcc-${PV}.inc |
2 | require gcc-configure-target.inc | 2 | require gcc-target.inc |
3 | require gcc-package-target.inc | ||
4 | |||
5 | ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR} -I${B}/gcc/include/ " | ||
diff --git a/meta/recipes-devtools/gcc/gcc_4.8.bb b/meta/recipes-devtools/gcc/gcc_4.8.bb index f68c67a403..0ae22e8fa3 100644 --- a/meta/recipes-devtools/gcc/gcc_4.8.bb +++ b/meta/recipes-devtools/gcc/gcc_4.8.bb | |||
@@ -1,5 +1,2 @@ | |||
1 | require recipes-devtools/gcc/gcc-${PV}.inc | 1 | require recipes-devtools/gcc/gcc-${PV}.inc |
2 | require gcc-configure-target.inc | 2 | require gcc-target.inc |
3 | require gcc-package-target.inc | ||
4 | |||
5 | ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR} -I${B}/gcc/include/ " | ||