[oe-commits] unknown gcc: merge avr32 bits into proper gcc files

koen commit openembedded-commits at lists.openembedded.org
Wed Jan 23 18:01:06 UTC 2008


gcc: merge avr32 bits into proper gcc files

Author: koen at openembedded.org
Branch: unknown
Revision: fe4e349c9f99ffcc18a5abe8041cd3379219c456
ViewMTN: http://monotone.openembedded.org/revision/info/fe4e349c9f99ffcc18a5abe8041cd3379219c456
Files:
1
packages/gcc/gcc-cross_4.1.2.bb
packages/gcc/gcc_4.1.2.bb
Diffs:

#
# mt diff -r7cd1ae5351316a6cdc9fe3db60bb05198d50af39 -rfe4e349c9f99ffcc18a5abe8041cd3379219c456
#
# 
# 
# patch "packages/gcc/gcc-cross_4.1.2.bb"
#  from [a97b09211d1289f0d2c70e6c7866141e1d332393]
#    to [aeb907b81e22c77ee92b67162e70ea303a7f25a9]
# 
# patch "packages/gcc/gcc_4.1.2.bb"
#  from [1bcca958ef7fe579cf9ef8cb370434924b1fa029]
#    to [83b7587bbe87067ba4b35498db78181f95b53bb0]
# 
============================================================
--- packages/gcc/gcc-cross_4.1.2.bb	a97b09211d1289f0d2c70e6c7866141e1d332393
+++ packages/gcc/gcc-cross_4.1.2.bb	aeb907b81e22c77ee92b67162e70ea303a7f25a9
@@ -5,7 +5,7 @@ FILESDIR = "${@os.path.dirname(bb.data.g
 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 = "r9"
+PR = "r10"
 
 DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc gmp-native mpfr-native"
 PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
@@ -17,4 +17,6 @@ SRC_URI_append_fail-fast = " file://zeck
 
 SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
 
+EXTRA_OECONF_append_avr32= "  --disable-libmudflap "
+
 EXTRA_OECONF += "--disable-libunwind-exceptions --with-mpfr=${STAGING_DIR}/${BUILD_SYS}"
============================================================
--- packages/gcc/gcc_4.1.2.bb	1bcca958ef7fe579cf9ef8cb370434924b1fa029
+++ packages/gcc/gcc_4.1.2.bb	83b7587bbe87067ba4b35498db78181f95b53bb0
@@ -1,4 +1,4 @@
-PR = "r6"
+PR = "r7"
 DESCRIPTION = "The GNU cc and gcc C compilers."
 HOMEPAGE = "http://www.gnu.org/software/gcc/"
 SECTION = "devel"
@@ -35,6 +35,25 @@ SRC_URI_append_sh3  = " file://sh3-insta
 
 SRC_URI_append_sh3  = " file://sh3-installfix-fixheaders.patch;patch=1 "
 
+SRC_URI_avr32 = "http://www.angstrom-distribution.org/unstable/sources/gcc-4.1.2-atmel.1.1.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_avr32() {
+       ln -sf ${S}/libstdc++-v3/config/os/uclibc/ ${S}/libstdc++-v3/config/os/uclibc-linux
+}
+
 #Set the fortran bits
 # ',fortran' or '', not 'f77' like gcc3 had
 FORTRAN = ""






More information about the Openembedded-commits mailing list