diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-22 09:31:56 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-23 16:20:12 +0100 |
| commit | d39770efd7645f793f31cc783f30ab349c1dc4ed (patch) | |
| tree | fe258e29a0548b7e8e7f10f04fe28bcc25f5fec4 /meta | |
| parent | 50170617c632e62aa68e9bbb700fd8290fa4b90e (diff) | |
| download | poky-d39770efd7645f793f31cc783f30ab349c1dc4ed.tar.gz | |
gcc-cross: Fold common configuration into gcc-cross.inc
(From OE-Core rev: a77a8011e56f7cddf22adc63270aa9f44c86062a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross.inc | 12 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross_4.7.bb | 11 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross_4.8.bb | 11 |
3 files changed, 12 insertions, 22 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc index 2913df79b3..c3542e297c 100644 --- a/meta/recipes-devtools/gcc/gcc-cross.inc +++ b/meta/recipes-devtools/gcc/gcc-cross.inc | |||
| @@ -108,3 +108,15 @@ STOP | |||
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | EXTRA_OECONF_append_sh4 = " --with-multilib-list= --enable-incomplete-targets " | 110 | EXTRA_OECONF_append_sh4 = " --with-multilib-list= --enable-incomplete-targets " |
| 111 | |||
| 112 | EXTRA_OECONF += "--disable-libunwind-exceptions \ | ||
| 113 | --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} \ | ||
| 114 | --with-system-zlib " | ||
| 115 | |||
| 116 | EXTRA_OECONF_PATHS = " \ | ||
| 117 | --with-gxx-include-dir=${STAGING_DIR_TARGET}${target_includedir}/c++ \ | ||
| 118 | --with-sysroot=${STAGING_DIR_TARGET} \ | ||
| 119 | --with-build-sysroot=${STAGING_DIR_TARGET}" | ||
| 120 | |||
| 121 | |||
| 122 | ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}" | ||
diff --git a/meta/recipes-devtools/gcc/gcc-cross_4.7.bb b/meta/recipes-devtools/gcc/gcc-cross_4.7.bb index b02ea13de2..b43cca0c52 100644 --- a/meta/recipes-devtools/gcc/gcc-cross_4.7.bb +++ b/meta/recipes-devtools/gcc/gcc-cross_4.7.bb | |||
| @@ -1,14 +1,3 @@ | |||
| 1 | require recipes-devtools/gcc/gcc-${PV}.inc | 1 | require recipes-devtools/gcc/gcc-${PV}.inc |
| 2 | require gcc-cross.inc | 2 | require gcc-cross.inc |
| 3 | 3 | ||
| 4 | EXTRA_OECONF += "--disable-libunwind-exceptions \ | ||
| 5 | --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} \ | ||
| 6 | --with-system-zlib " | ||
| 7 | |||
| 8 | EXTRA_OECONF_PATHS = " \ | ||
| 9 | --with-gxx-include-dir=${STAGING_DIR_TARGET}${target_includedir}/c++ \ | ||
| 10 | --with-sysroot=${STAGING_DIR_TARGET} \ | ||
| 11 | --with-build-sysroot=${STAGING_DIR_TARGET}" | ||
| 12 | |||
| 13 | |||
| 14 | ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}" | ||
diff --git a/meta/recipes-devtools/gcc/gcc-cross_4.8.bb b/meta/recipes-devtools/gcc/gcc-cross_4.8.bb index b02ea13de2..b43cca0c52 100644 --- a/meta/recipes-devtools/gcc/gcc-cross_4.8.bb +++ b/meta/recipes-devtools/gcc/gcc-cross_4.8.bb | |||
| @@ -1,14 +1,3 @@ | |||
| 1 | require recipes-devtools/gcc/gcc-${PV}.inc | 1 | require recipes-devtools/gcc/gcc-${PV}.inc |
| 2 | require gcc-cross.inc | 2 | require gcc-cross.inc |
| 3 | 3 | ||
| 4 | EXTRA_OECONF += "--disable-libunwind-exceptions \ | ||
| 5 | --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} \ | ||
| 6 | --with-system-zlib " | ||
| 7 | |||
| 8 | EXTRA_OECONF_PATHS = " \ | ||
| 9 | --with-gxx-include-dir=${STAGING_DIR_TARGET}${target_includedir}/c++ \ | ||
| 10 | --with-sysroot=${STAGING_DIR_TARGET} \ | ||
| 11 | --with-build-sysroot=${STAGING_DIR_TARGET}" | ||
| 12 | |||
| 13 | |||
| 14 | ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}" | ||
