merge of '49118a4c6035353c0f8cf1aa30297dd36e43241f'
[vuplus_openembedded] / packages / gcc / gcc-csl-arm-2007q3.inc
1 require gcc-common.inc
2
3 BINV = "4.2.1"
4 PV = "4.2.1+csl-arm-2007q3-53"
5
6 FILESPATH = "${FILE_DIRNAME}/gcc-csl-arm-2007q3:${FILE_DIRNAME}/gcc-csl-arm"
7
8 SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-eabi/arm-2007q3-53-arm-none-eabi.src.tar.bz2 \
9            file://gcc-new-makeinfo.patch;patch=1 \
10 #           file://100-uclibc-conf.patch;patch=1 \
11 #           file://103-uclibc-conf-noupstream.patch;patch=1 \
12 #           file://200-uclibc-locale.patch;patch=1 \
13 #           file://203-uclibc-locale-no__x.patch;patch=1 \
14 #           file://204-uclibc-locale-wchar_fix.patch;patch=1 \
15 #           file://205-uclibc-locale-update.patch;patch=1 \
16 #           file://300-libstdc++-pic.patch;patch=1 \
17 #           file://302-c99-snprintf.patch;patch=1 \
18 #           file://303-c99-complex-ugly-hack.patch;patch=1 \
19 #           file://304-index_macro.patch;patch=1 \
20 #           file://305-libmudflap-susv3-legacy.patch;patch=1 \
21 #           file://306-libstdc++-namespace.patch;patch=1 \
22 #           file://307-locale_facets.patch;patch=1 \
23 #           file://402-libbackend_dep_gcov-iov.h.patch;patch=1 \
24 #           file://602-sdk-libstdc++-includes.patch;patch=1 \
25            file://gcc41-configure.in.patch;patch=1 \
26            file://arm-nolibfloat.patch;patch=1 \
27            file://arm-softfloat.patch;patch=1 \
28            file://zecke-xgcc-cpp.patch;patch=1 \
29 #           file://gfortran.patch;patch=1 \
30 #           file://fortran-static-linking.patch;patch=1 \
31 #           file://gcc-configure-no-fortran.patch;patch=1;pnum=1 \
32 #           file://gcc-new-makeinfo.patch;patch=1 \
33            file://gcc-Os-fix.diff;patch=1 \
34 "
35
36
37 S = "${WORKDIR}/gcc-4.2"
38
39 do_unpack2() {
40         cd ${WORKDIR}
41         tar -xvjf ./arm-2007q3-53-arm-none-eabi/gcc-2007q3-53.tar.bz2
42 }
43
44 # Language Overrides
45 FORTRAN = ""
46 #FORTRAN_linux-gnueabi = ",fortran"
47 #JAVA = ",java"
48
49 EXTRA_OECONF_BASE = "--enable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap"
50 ARM_INSTRUCTION_SET = "arm"
51
52 addtask unpack2 after do_unpack before do_patch