summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-cross-initial.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-03-18 10:41:39 +0000
committerRichard Purdie <richard@openedhand.com>2008-03-18 10:41:39 +0000
commit1255ee64ee58fb5f0acd0bdbf4f0a54afd5ceeaf (patch)
tree293d34ede70b906b04967ac077e32a8fee4e855b /meta/packages/gcc/gcc-cross-initial.inc
parent402c7dcb2790bd51de9436befe8c273e538be441 (diff)
downloadpoky-1255ee64ee58fb5f0acd0bdbf4f0a54afd5ceeaf.tar.gz
gcc: Merge in the major cleanup I made in OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4038 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gcc/gcc-cross-initial.inc')
-rw-r--r--meta/packages/gcc/gcc-cross-initial.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/packages/gcc/gcc-cross-initial.inc b/meta/packages/gcc/gcc-cross-initial.inc
index 2165bf22ce..e0675263ea 100644
--- a/meta/packages/gcc/gcc-cross-initial.inc
+++ b/meta/packages/gcc/gcc-cross-initial.inc
@@ -1,9 +1,11 @@
1DEPENDS = "virtual/${TARGET_PREFIX}binutils" 1DEPENDS = "virtual/${TARGET_PREFIX}binutils"
2DEPENDS += "${@['virtual/${TARGET_PREFIX}libc-initial',''][bb.data.getVar('TARGET_ARCH', d, 1) in ['arm', 'armeb', 'mips', 'mipsel']]}" 2# @todo Please add comment on why this is (still?) needed?
3DEPENDS += "${@['virtual/${TARGET_PREFIX}libc-initial',''][bb.data.getVar('TARGET_ARCH', d, 1) in ['arm', 'armeb', 'mips', 'mipsel', 'powerpc']]}"
3PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial" 4PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial"
4PACKAGES = "" 5PACKAGES = ""
5 6
6# This is intended to be a -very- basic config 7# This is intended to be a -very- basic config
8# sysroot is needed in case we use libc-initial
7EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${layout_prefix} \ 9EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${layout_prefix} \
8 --with-newlib \ 10 --with-newlib \
9 --disable-shared \ 11 --disable-shared \
@@ -13,6 +15,8 @@ EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${layout_prefix} \
13 --enable-languages=c \ 15 --enable-languages=c \
14 --enable-target-optspace \ 16 --enable-target-optspace \
15 --program-prefix=${TARGET_PREFIX} \ 17 --program-prefix=${TARGET_PREFIX} \
18 --with-sysroot=${STAGING_DIR_TARGET} \
19 --with-build-sysroot=${STAGING_DIR_TARGET} \
16 ${@get_gcc_fpu_setting(bb, d)}" 20 ${@get_gcc_fpu_setting(bb, d)}"
17 21
18do_stage_prepend () { 22do_stage_prepend () {