diff options
Diffstat (limited to 'meta/packages/gcc/gcc-cross_4.2.2.bb')
| -rw-r--r-- | meta/packages/gcc/gcc-cross_4.2.2.bb | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/meta/packages/gcc/gcc-cross_4.2.2.bb b/meta/packages/gcc/gcc-cross_4.2.2.bb index def16597e0..8a7a21f188 100644 --- a/meta/packages/gcc/gcc-cross_4.2.2.bb +++ b/meta/packages/gcc/gcc-cross_4.2.2.bb | |||
| @@ -1,22 +1,15 @@ | |||
| 1 | require gcc_${PV}.bb | ||
| 2 | # path mangling, needed by the cross packaging | ||
| 3 | require gcc-paths-cross.inc | ||
| 4 | inherit cross | ||
| 5 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}" | ||
| 6 | # NOTE: split PR. If the main .oe changes something that affects its *build* | ||
| 7 | # remember to increment this one too. | ||
| 8 | PR = "r6" | 1 | PR = "r6" |
| 9 | 2 | ||
| 10 | DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc gmp-native mpfr-native" | 3 | require gcc-${PV}.inc |
| 11 | PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" | 4 | require gcc-cross4.inc |
| 12 | 5 | require gcc-configure-cross.inc | |
| 13 | # cross build | ||
| 14 | require gcc3-build-cross.inc | ||
| 15 | # cross packaging | ||
| 16 | require gcc-package-cross.inc | 6 | require gcc-package-cross.inc |
| 7 | |||
| 17 | SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 " | 8 | SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 " |
| 18 | # Do not build libssp libmudflap and libgomp | 9 | # Do not build libssp libmudflap and libgomp |
| 19 | # We might need them for some beefy targets | 10 | # We might need them for some beefy targets |
| 20 | EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \ | 11 | EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \ |
| 21 | --disable-libgomp --disable-libmudflap \ | 12 | --disable-libgomp --disable-libmudflap \ |
| 22 | --with-mpfr=${STAGING_DIR_NATIVE}${layout_exec_prefix}" | 13 | --with-mpfr=${STAGING_DIR_NATIVE}${layout_exec_prefix}" |
| 14 | |||
| 15 | ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${layout_includedir}" | ||
