summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-cross-initial_csl-arm-2006q1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gcc/gcc-cross-initial_csl-arm-2006q1.bb')
-rw-r--r--meta/packages/gcc/gcc-cross-initial_csl-arm-2006q1.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-cross-initial_csl-arm-2006q1.bb b/meta/packages/gcc/gcc-cross-initial_csl-arm-2006q1.bb
new file mode 100644
index 0000000000..17cf7b4d9b
--- /dev/null
+++ b/meta/packages/gcc/gcc-cross-initial_csl-arm-2006q1.bb
@@ -0,0 +1,32 @@
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
8S = "${WORKDIR}/gcc-2006q1"
9
10# This is intended to be a -very- basic config
11EXTRA_OECONF = "--with-local-prefix=${CROSS_DIR}/${TARGET_SYS} \
12 --with-newlib \
13 --disable-shared \
14 --disable-threads \
15 --disable-multilib \
16 --disable-__cxa_atexit \
17 --disable-libmudflap \
18 --disable-libssp \
19 --enable-languages=c \
20 --enable-target-optspace \
21 --program-prefix=${TARGET_PREFIX} \
22 ${@get_gcc_fpu_setting(bb, d)}"
23
24do_stage_prepend () {
25 mkdir -p ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}
26 ln -sf libgcc.a ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/libgcc_eh.a
27}
28
29# Override the method from gcc-cross so we don't try to install libgcc
30do_install () {
31 oe_runmake 'DESTDIR=${D}' install
32}