diff options
Diffstat (limited to 'meta/packages/gcc/gcc-cross-initial_csl-arm-2005q3.bb')
-rw-r--r-- | meta/packages/gcc/gcc-cross-initial_csl-arm-2005q3.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-cross-initial_csl-arm-2005q3.bb b/meta/packages/gcc/gcc-cross-initial_csl-arm-2005q3.bb new file mode 100644 index 0000000000..48c80864e2 --- /dev/null +++ b/meta/packages/gcc/gcc-cross-initial_csl-arm-2005q3.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | include gcc-cross_${PV}.bb | ||
2 | |||
3 | DEPENDS = "virtual/${TARGET_PREFIX}binutils" | ||
4 | DEPENDS += "${@['virtual/${TARGET_PREFIX}libc-initial',''][bb.data.getVar('TARGET_ARCH', d, 1) in ['arm', 'armeb', 'mips', 'mipsel']]}" | ||
5 | PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial" | ||
6 | PACKAGES = "" | ||
7 | |||
8 | # This is intended to be a -very- basic config | ||
9 | EXTRA_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 | --enable-languages=c \ | ||
16 | --enable-target-optspace \ | ||
17 | --program-prefix=${TARGET_PREFIX} \ | ||
18 | ${@get_gcc_fpu_setting(bb, d)}" | ||
19 | |||
20 | do_stage_prepend () { | ||
21 | mkdir -p ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV} | ||
22 | ln -sf libgcc.a ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/libgcc_eh.a | ||
23 | } | ||
24 | |||
25 | # Override the method from gcc-cross so we don't try to install libgcc | ||
26 | do_install () { | ||
27 | oe_runmake 'DESTDIR=${D}' install | ||
28 | } | ||