diff options
author | Koen Kooi <koen@openembedded.org> | 2007-09-04 12:07:11 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-09-04 12:07:11 +0000 |
commit | 1c24210e3f0b3f6a5a5783ed597252d453e6bd64 (patch) | |
tree | 92a51cdf31cca39b866e3f818a799fa4fd6b570e /packages/gcc | |
parent | adc0e34177df635be3bec485a184e5573f13383e (diff) | |
parent | b144d7d083863cb10a7d9219ddcede338f6e839a (diff) |
propagate from branch 'org.openembedded.dev' (head 3fed235384e32b1c9ba26c86ff39b2ffb928fbed)
to branch 'org.openembedded.dev.avr32' (head 50c56d6b5b2d15f6bc9c32b4f9907bc0d1c3564b)
Diffstat (limited to 'packages/gcc')
-rw-r--r-- | packages/gcc/avr32-gcc-cross_4.1.2.bb | 22 | ||||
-rw-r--r-- | packages/gcc/avr32-gcc_4.1.2.bb | 22 |
2 files changed, 44 insertions, 0 deletions
diff --git a/packages/gcc/avr32-gcc-cross_4.1.2.bb b/packages/gcc/avr32-gcc-cross_4.1.2.bb new file mode 100644 index 0000000000..e34098f840 --- /dev/null +++ b/packages/gcc/avr32-gcc-cross_4.1.2.bb @@ -0,0 +1,22 @@ +require avr32-gcc_${PV}.bb +# path mangling, needed by the cross packaging +require gcc-paths-cross.inc +inherit cross +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}" +# NOTE: split PR. If the main .oe changes something that affects its *build* +# remember to increment this one too. +PR = "r0" + +DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc gmp-native mpfr-native" +PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" + +# cross build +require gcc3-build-cross.inc +# cross packaging +require gcc-package-cross.inc + +SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 " + +EXTRA_OECONF += " --disable-libmudflap \ + --disable-libunwind-exceptions \ + --with-mpfr=${STAGING_DIR}/${BUILD_SYS}" diff --git a/packages/gcc/avr32-gcc_4.1.2.bb b/packages/gcc/avr32-gcc_4.1.2.bb new file mode 100644 index 0000000000..60254db87e --- /dev/null +++ b/packages/gcc/avr32-gcc_4.1.2.bb @@ -0,0 +1,22 @@ +require gcc_${PV}.bb + +FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.1.2', '${FILE_DIRNAME}/gcc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" + +SRC_URI = "http://www.angstrom-distribution.org/unstable/sources/gcc-4.1.2-atmel.1.0.0.tar.gz \ +# file://100-uclibc-conf.patch;patch=1 \ +# file://200-uclibc-locale.patch;patch=1 \ +# file://300-libstdc++-pic.patch;patch=1 \ + file://301-missing-execinfo_h.patch;patch=1 \ + file://302-c99-snprintf.patch;patch=1 \ + file://303-c99-complex-ugly-hack.patch;patch=1 \ + file://304-index_macro.patch;patch=1 \ + file://602-sdk-libstdc++-includes.patch;patch=1 \ + file://gcc41-configure.in.patch;patch=1 \ + file://ldflags.patch;patch=1 \ + file://zecke-xgcc-cpp.patch;patch=1 \ + file://cache-amnesia.patch;patch=1 \ + " + +do_compile_prepend() { +ln -sf ${S}/libstdc++-v3/config/os/uclibc/ ${S}/libstdc++-v3/config/os/uclibc-linux +} |