summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-cross-initial_4.1.1.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-08-26 22:58:50 +0000
committerRichard Purdie <richard@openedhand.com>2006-08-26 22:58:50 +0000
commit8800d8be25295dd7c7d84dde62c3be4df8e43346 (patch)
tree8ec8b868f4dc4ba56c74d1f7de0bb45ecb80664a /meta/packages/gcc/gcc-cross-initial_4.1.1.bb
parent1562178b03be74528c52f70228d13ea257c2d445 (diff)
downloadpoky-8800d8be25295dd7c7d84dde62c3be4df8e43346.tar.gz
gcc: Add 4.1.1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@648 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gcc/gcc-cross-initial_4.1.1.bb')
-rw-r--r--meta/packages/gcc/gcc-cross-initial_4.1.1.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-cross-initial_4.1.1.bb b/meta/packages/gcc/gcc-cross-initial_4.1.1.bb
new file mode 100644
index 0000000000..1e23ef9330
--- /dev/null
+++ b/meta/packages/gcc/gcc-cross-initial_4.1.1.bb
@@ -0,0 +1,30 @@
1require gcc-cross_${PV}.bb
2
3DEPENDS = "virtual/${TARGET_PREFIX}binutils"
4DEPENDS += "${@['virtual/${TARGET_PREFIX}libc-initial',''][bb.data.getVar('TARGET_ARCH', d, 1) in ['arm', 'armeb', 'mips', 'mipsel']]}"
5PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial"
6PACKAGES = ""
7
8# This is intended to be a -very- basic config
9EXTRA_OECONF = "--with-local-prefix=${CROSS_DIR}/${TARGET_SYS} \
10 --with-newlib \
11 --disable-shared \
12 --disable-threads \
13 --disable-multilib \
14 --disable-__cxa_atexit \
15 --disable-libmudflap \
16 --disable-libssp \
17 --enable-languages=c \
18 --enable-target-optspace \
19 --program-prefix=${TARGET_PREFIX} \
20 ${@get_gcc_fpu_setting(bb, d)}"
21
22do_stage_prepend () {
23 mkdir -p ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}
24 ln -sf libgcc.a ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/libgcc_eh.a
25}
26
27# Override the method from gcc-cross so we don't try to install libgcc
28do_install () {
29 oe_runmake 'DESTDIR=${D}' install
30}