diff options
author | Richard Purdie <richard@openedhand.com> | 2008-03-18 10:41:39 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-03-18 10:41:39 +0000 |
commit | 1255ee64ee58fb5f0acd0bdbf4f0a54afd5ceeaf (patch) | |
tree | 293d34ede70b906b04967ac077e32a8fee4e855b /meta/packages/gcc/gcc-cross-initial.inc | |
parent | 402c7dcb2790bd51de9436befe8c273e538be441 (diff) | |
download | openembedded-core-1255ee64ee58fb5f0acd0bdbf4f0a54afd5ceeaf.tar.gz openembedded-core-1255ee64ee58fb5f0acd0bdbf4f0a54afd5ceeaf.tar.bz2 openembedded-core-1255ee64ee58fb5f0acd0bdbf4f0a54afd5ceeaf.zip |
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.inc | 6 |
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 @@ DEPENDS = "virtual/${TARGET_PREFIX}binutils" -DEPENDS += "${@['virtual/${TARGET_PREFIX}libc-initial',''][bb.data.getVar('TARGET_ARCH', d, 1) in ['arm', 'armeb', 'mips', 'mipsel']]}" +# @todo Please add comment on why this is (still?) needed? +DEPENDS += "${@['virtual/${TARGET_PREFIX}libc-initial',''][bb.data.getVar('TARGET_ARCH', d, 1) in ['arm', 'armeb', 'mips', 'mipsel', 'powerpc']]}" PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial" PACKAGES = "" # This is intended to be a -very- basic config +# sysroot is needed in case we use libc-initial EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${layout_prefix} \ --with-newlib \ --disable-shared \ @@ -13,6 +15,8 @@ EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${layout_prefix} \ --enable-languages=c \ --enable-target-optspace \ --program-prefix=${TARGET_PREFIX} \ + --with-sysroot=${STAGING_DIR_TARGET} \ + --with-build-sysroot=${STAGING_DIR_TARGET} \ ${@get_gcc_fpu_setting(bb, d)}" do_stage_prepend () { |