diff options
author | Richard Purdie <richard@openedhand.com> | 2008-07-24 20:32:06 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-07-24 20:32:06 +0000 |
commit | 05b0a2111dd3feaed077524116043dc68e2cedd7 (patch) | |
tree | 6db9dd2572de9f00e5aeb37d7b50a85d9637f067 /meta/packages | |
parent | 87796f6ce02df30375057fac934685d109f99be3 (diff) | |
download | openembedded-core-05b0a2111dd3feaed077524116043dc68e2cedd7.tar.gz openembedded-core-05b0a2111dd3feaed077524116043dc68e2cedd7.tar.bz2 openembedded-core-05b0a2111dd3feaed077524116043dc68e2cedd7.tar.xz openembedded-core-05b0a2111dd3feaed077524116043dc68e2cedd7.zip |
uclibc/meta-toolchain: Catch up with toolchain changes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4944 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/meta/external-poky-toolchain.bb | 13 | ||||
-rw-r--r-- | meta/packages/uclibc/uclibc-initial_0.9.29.bb | 8 | ||||
-rw-r--r-- | meta/packages/uclibc/uclibc.inc | 2 |
3 files changed, 13 insertions, 10 deletions
diff --git a/meta/packages/meta/external-poky-toolchain.bb b/meta/packages/meta/external-poky-toolchain.bb index 0f79aaaad..7b6fd1a08 100644 --- a/meta/packages/meta/external-poky-toolchain.bb +++ b/meta/packages/meta/external-poky-toolchain.bb @@ -1,13 +1,10 @@ PROVIDES = "\ linux-libc-headers \ - virtual/arm-poky-linux-gnueabi-gcc \ - virtual/arm-poky-linux-gnueabi-gcc-initial \ - virtual/arm-poky-linux-binutils \ - virtual/arm-poky-linux-libc-for-gcc \ - virtual/i586-poky-linux-gcc \ - virtual/i586-poky-linux-gcc-initial \ - virtual/i586-poky-linux-binutils \ - virtual/i586-poky-linux-libc-for-gcc \ + virtual/${TARGET_PREFIX}gcc \ + virtual/${TARGET_PREFIX}gcc-intermediate \ + virtual/${TARGET_PREFIX}gcc-initial \ + virtual/${TARGET_PREFIX}binutils \ + virtual/${TARGET_PREFIX}libc-for-gcc \ virtual/libc \ virtual/libintl \ virtual/libiconv \ diff --git a/meta/packages/uclibc/uclibc-initial_0.9.29.bb b/meta/packages/uclibc/uclibc-initial_0.9.29.bb index 572693dd6..ee0631d45 100644 --- a/meta/packages/uclibc/uclibc-initial_0.9.29.bb +++ b/meta/packages/uclibc/uclibc-initial_0.9.29.bb @@ -3,7 +3,7 @@ require uclibc_${PV}.bb FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-${PV}', '${FILE_DIRNAME}/uclibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" -DEPENDS = "linux-libc-headers ncurses-native" +DEPENDS = "linux-libc-headers ncurses-native virtual/${TARGET_PREFIX}gcc-initial" PROVIDES = "virtual/${TARGET_PREFIX}libc-initial" PACKAGES = "" @@ -12,11 +12,17 @@ do_stage() { make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ pregen install_dev + make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ + RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ + lib/crt1.o lib/crti.o lib/crtn.o ln -sf include ${CROSS_DIR}/${TARGET_SYS}/sys-include # This conflicts with the c++ version of this header rm -f ${UCLIBC_STAGE_PREFIX}/include/bits/atomicity.h + install -m 644 lib/crt[1in].o ${UCLIBC_STAGE_PREFIX}/lib + ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \ + -o ${UCLIBC_STAGE_PREFIX}/lib/libc.so } do_install() { diff --git a/meta/packages/uclibc/uclibc.inc b/meta/packages/uclibc/uclibc.inc index a620ace10..68dcd14ef 100644 --- a/meta/packages/uclibc/uclibc.inc +++ b/meta/packages/uclibc/uclibc.inc @@ -22,7 +22,7 @@ python __anonymous () { PROVIDES += "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" PROVIDES += "${@['virtual/libiconv', ''][bb.data.getVar('USE_NLS', d, 1) != 'yes']}" DEPENDS = "virtual/${TARGET_PREFIX}binutils \ - virtual/${TARGET_PREFIX}gcc-initial linux-libc-headers" + virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers ncurses-native pax-utils-native" # Blackfin needs a wrapper around ld DEPENDS_append_bfin = " elf2flt " |