summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-07-18 08:21:43 +0000
committerRichard Purdie <richard@openedhand.com>2008-07-18 08:21:43 +0000
commit94241d92478a0d1c9b36d63c886994cee72dcfec (patch)
tree2f865356c3edf9a07935a38a0d48a4534b3b26d3 /meta/packages
parent382427b65dce609add09edd7c66d110111b83736 (diff)
downloadpoky-94241d92478a0d1c9b36d63c886994cee72dcfec.tar.gz
Add gcc CSL 2008q1 from OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4866 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/gcc/gcc-cross-initial_csl-arm-2008q1.bb12
-rw-r--r--meta/packages/gcc/gcc-cross_csl-arm-2008q1.bb26
-rw-r--r--meta/packages/gcc/gcc-csl-arm-2008q1.inc50
-rw-r--r--meta/packages/gcc/gcc_csl-arm-2008q1.bb5
4 files changed, 93 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-cross-initial_csl-arm-2008q1.bb b/meta/packages/gcc/gcc-cross-initial_csl-arm-2008q1.bb
new file mode 100644
index 0000000000..99656dbe83
--- /dev/null
+++ b/meta/packages/gcc/gcc-cross-initial_csl-arm-2008q1.bb
@@ -0,0 +1,12 @@
1require gcc-cross_${PV}.bb
2require gcc-cross-initial.inc
3
4S = "${WORKDIR}/gcc-4.2"
5
6EXTRA_OECONF += "--disable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap "
7
8# Hack till we fix *libc properly
9do_stage_append() {
10 ln -sf ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include-fixed/* ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include/
11}
12
diff --git a/meta/packages/gcc/gcc-cross_csl-arm-2008q1.bb b/meta/packages/gcc/gcc-cross_csl-arm-2008q1.bb
new file mode 100644
index 0000000000..01b5bdacc4
--- /dev/null
+++ b/meta/packages/gcc/gcc-cross_csl-arm-2008q1.bb
@@ -0,0 +1,26 @@
1PR = "r2"
2
3require gcc-csl-arm-2008q1.inc
4require gcc-cross4.inc
5require gcc-configure-cross.inc
6require gcc-package-cross.inc
7
8SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
9
10EXTRA_OECONF += "--disable-multilib --disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${layout_exec_prefix}"
11
12#We don't want i686 linux ending up in the CFLAGS_FOR_TARGET like this: -isystem/OE/angstrom-tmp/staging/i686-linux/usr/include
13CFLAGS = ""
14CXXFLAGS = ""
15LDFLAGS = ""
16
17# staging-linkage and cross-linkage recipes don't work anymore, so do it by hand for this backwards CSL toolchain
18do_compile_prepend() {
19 ln -sf ${STAGING_DIR_TARGET}${layout_libdir}/crt*.o ${CROSS_DIR}/${TARGET_SYS}/lib/
20 ln -sf ${STAGING_DIR_TARGET}${layout_libdir}/ld-* ${CROSS_DIR}/${TARGET_SYS}/lib/
21 ln -sf ${STAGING_DIR_TARGET}/lib/libc* ${CROSS_DIR}/${TARGET_SYS}/lib/
22 sed -i -e 's:gcc_no_link=yes:gcc_no_link=no:' ${S}/libstdc++-v3/configure
23
24}
25
26ARCH_FLAGS_FOR_TARGET += " -L${STAGING_DIR_TARGET}${layout_libdir} -isystem${STAGING_DIR_TARGET}${layout_includedir}"
diff --git a/meta/packages/gcc/gcc-csl-arm-2008q1.inc b/meta/packages/gcc/gcc-csl-arm-2008q1.inc
new file mode 100644
index 0000000000..d4f6ef1e37
--- /dev/null
+++ b/meta/packages/gcc/gcc-csl-arm-2008q1.inc
@@ -0,0 +1,50 @@
1require gcc-common.inc
2
3BINV = "4.2.3"
4PV = "4.2.3+csl-arm-2008q1-126"
5
6FILESDIR = "${FILE_DIRNAME}/gcc-csl-arm"
7
8SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-eabi/arm-2008q1-126-arm-none-eabi.src.tar.bz2 \
9# file://100-uclibc-conf.patch;patch=1 \
10# file://103-uclibc-conf-noupstream.patch;patch=1 \
11# file://200-uclibc-locale.patch;patch=1 \
12# file://203-uclibc-locale-no__x.patch;patch=1 \
13# file://204-uclibc-locale-wchar_fix.patch;patch=1 \
14# file://205-uclibc-locale-update.patch;patch=1 \
15# file://300-libstdc++-pic.patch;patch=1 \
16# file://302-c99-snprintf.patch;patch=1 \
17# file://303-c99-complex-ugly-hack.patch;patch=1 \
18# file://304-index_macro.patch;patch=1 \
19# file://305-libmudflap-susv3-legacy.patch;patch=1 \
20# file://306-libstdc++-namespace.patch;patch=1 \
21# file://307-locale_facets.patch;patch=1 \
22# file://402-libbackend_dep_gcov-iov.h.patch;patch=1 \
23# file://602-sdk-libstdc++-includes.patch;patch=1 \
24 file://gcc41-configure.in.patch;patch=1 \
25 file://arm-nolibfloat.patch;patch=1 \
26 file://arm-softfloat.patch;patch=1 \
27 file://zecke-xgcc-cpp.patch;patch=1 \
28# file://gfortran.patch;patch=1 \
29# file://fortran-static-linking.patch;patch=1 \
30# file://gcc-configure-no-fortran.patch;patch=1;pnum=1 \
31# file://gcc-new-makeinfo.patch;patch=1 \
32"
33
34
35S = "${WORKDIR}/gcc-4.2"
36
37do_unpack2() {
38 cd ${WORKDIR}
39 tar -xvjf ./arm-2008q1-126-arm-none-eabi/gcc-2008q1-126.tar.bz2
40}
41
42# Language Overrides
43FORTRAN = ""
44#FORTRAN_linux-gnueabi = ",fortran"
45#JAVA = ",java"
46
47EXTRA_OECONF_BASE = "--enable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap"
48ARM_INSTRUCTION_SET = "arm"
49
50addtask unpack2 after do_unpack before do_patch
diff --git a/meta/packages/gcc/gcc_csl-arm-2008q1.bb b/meta/packages/gcc/gcc_csl-arm-2008q1.bb
new file mode 100644
index 0000000000..832167ca4e
--- /dev/null
+++ b/meta/packages/gcc/gcc_csl-arm-2008q1.bb
@@ -0,0 +1,5 @@
1PR = "r1"
2
3require gcc-${PV}.inc
4require gcc-configure-target.inc
5require gcc-package-target.inc