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 | poky-05b0a2111dd3feaed077524116043dc68e2cedd7.tar.gz |
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 0f79aaaadd..7b6fd1a084 100644 --- a/meta/packages/meta/external-poky-toolchain.bb +++ b/meta/packages/meta/external-poky-toolchain.bb | |||
@@ -1,13 +1,10 @@ | |||
1 | PROVIDES = "\ | 1 | PROVIDES = "\ |
2 | linux-libc-headers \ | 2 | linux-libc-headers \ |
3 | virtual/arm-poky-linux-gnueabi-gcc \ | 3 | virtual/${TARGET_PREFIX}gcc \ |
4 | virtual/arm-poky-linux-gnueabi-gcc-initial \ | 4 | virtual/${TARGET_PREFIX}gcc-intermediate \ |
5 | virtual/arm-poky-linux-binutils \ | 5 | virtual/${TARGET_PREFIX}gcc-initial \ |
6 | virtual/arm-poky-linux-libc-for-gcc \ | 6 | virtual/${TARGET_PREFIX}binutils \ |
7 | virtual/i586-poky-linux-gcc \ | 7 | virtual/${TARGET_PREFIX}libc-for-gcc \ |
8 | virtual/i586-poky-linux-gcc-initial \ | ||
9 | virtual/i586-poky-linux-binutils \ | ||
10 | virtual/i586-poky-linux-libc-for-gcc \ | ||
11 | virtual/libc \ | 8 | virtual/libc \ |
12 | virtual/libintl \ | 9 | virtual/libintl \ |
13 | virtual/libiconv \ | 10 | 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 572693dd6b..ee0631d453 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 | |||
3 | 3 | ||
4 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-${PV}', '${FILE_DIRNAME}/uclibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" | 4 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-${PV}', '${FILE_DIRNAME}/uclibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" |
5 | 5 | ||
6 | DEPENDS = "linux-libc-headers ncurses-native" | 6 | DEPENDS = "linux-libc-headers ncurses-native virtual/${TARGET_PREFIX}gcc-initial" |
7 | PROVIDES = "virtual/${TARGET_PREFIX}libc-initial" | 7 | PROVIDES = "virtual/${TARGET_PREFIX}libc-initial" |
8 | PACKAGES = "" | 8 | PACKAGES = "" |
9 | 9 | ||
@@ -12,11 +12,17 @@ do_stage() { | |||
12 | make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ | 12 | make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ |
13 | RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ | 13 | RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ |
14 | pregen install_dev | 14 | pregen install_dev |
15 | make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ | ||
16 | RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ | ||
17 | lib/crt1.o lib/crti.o lib/crtn.o | ||
15 | 18 | ||
16 | ln -sf include ${CROSS_DIR}/${TARGET_SYS}/sys-include | 19 | ln -sf include ${CROSS_DIR}/${TARGET_SYS}/sys-include |
17 | 20 | ||
18 | # This conflicts with the c++ version of this header | 21 | # This conflicts with the c++ version of this header |
19 | rm -f ${UCLIBC_STAGE_PREFIX}/include/bits/atomicity.h | 22 | rm -f ${UCLIBC_STAGE_PREFIX}/include/bits/atomicity.h |
23 | install -m 644 lib/crt[1in].o ${UCLIBC_STAGE_PREFIX}/lib | ||
24 | ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \ | ||
25 | -o ${UCLIBC_STAGE_PREFIX}/lib/libc.so | ||
20 | } | 26 | } |
21 | 27 | ||
22 | do_install() { | 28 | do_install() { |
diff --git a/meta/packages/uclibc/uclibc.inc b/meta/packages/uclibc/uclibc.inc index a620ace10a..68dcd14ef8 100644 --- a/meta/packages/uclibc/uclibc.inc +++ b/meta/packages/uclibc/uclibc.inc | |||
@@ -22,7 +22,7 @@ python __anonymous () { | |||
22 | PROVIDES += "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" | 22 | PROVIDES += "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" |
23 | PROVIDES += "${@['virtual/libiconv', ''][bb.data.getVar('USE_NLS', d, 1) != 'yes']}" | 23 | PROVIDES += "${@['virtual/libiconv', ''][bb.data.getVar('USE_NLS', d, 1) != 'yes']}" |
24 | DEPENDS = "virtual/${TARGET_PREFIX}binutils \ | 24 | DEPENDS = "virtual/${TARGET_PREFIX}binutils \ |
25 | virtual/${TARGET_PREFIX}gcc-initial linux-libc-headers" | 25 | virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers ncurses-native pax-utils-native" |
26 | 26 | ||
27 | # Blackfin needs a wrapper around ld | 27 | # Blackfin needs a wrapper around ld |
28 | DEPENDS_append_bfin = " elf2flt " | 28 | DEPENDS_append_bfin = " elf2flt " |