abiword: add 2.8.3
[openembedded.git] / recipes / gcc / gcc-cross-intermediate.inc
1 DEPENDS = "virtual/${TARGET_PREFIX}binutils"
2 DEPENDS += "virtual/${TARGET_PREFIX}libc-initial"
3 PROVIDES = "virtual/${TARGET_PREFIX}gcc-intermediate"
4 PACKAGES = ""
5
6 # This is intended to be a -very- basic config
7 # sysroot is needed in case we use libc-initial
8 EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \
9                 --enable-shared \
10                 --disable-multilib \
11                 --disable-threads \
12                 --enable-languages=c \
13                 --enable-target-optspace \
14                 --program-prefix=${TARGET_PREFIX} \
15                 --with-sysroot=${STAGING_DIR_TARGET} \
16                 --with-build-sysroot=${STAGING_DIR_TARGET} \
17                 ${@get_gcc_fpu_setting(bb, d)} \
18                 ${@get_gcc_mips_plt_setting(bb, d)}"
19
20 do_stage_append () {
21         # get rid of dummy libc.so
22         if [ -z "`file ${STAGING_DIR_TARGET}${target_libdir}/libc.so | grep "ASCII C program text"`" ]; then
23                 rm -rf ${STAGING_DIR_TARGET}${target_libdir}/libc.so
24         fi
25 }
26
27 do_install () {
28         :
29 }