summaryrefslogtreecommitdiffstats
path: root/meta/packages/uclibc
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-07-24 20:32:06 +0000
committerRichard Purdie <richard@openedhand.com>2008-07-24 20:32:06 +0000
commit05b0a2111dd3feaed077524116043dc68e2cedd7 (patch)
tree6db9dd2572de9f00e5aeb37d7b50a85d9637f067 /meta/packages/uclibc
parent87796f6ce02df30375057fac934685d109f99be3 (diff)
downloadpoky-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/uclibc')
-rw-r--r--meta/packages/uclibc/uclibc-initial_0.9.29.bb8
-rw-r--r--meta/packages/uclibc/uclibc.inc2
2 files changed, 8 insertions, 2 deletions
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
4FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-${PV}', '${FILE_DIRNAME}/uclibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" 4FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-${PV}', '${FILE_DIRNAME}/uclibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}"
5 5
6DEPENDS = "linux-libc-headers ncurses-native" 6DEPENDS = "linux-libc-headers ncurses-native virtual/${TARGET_PREFIX}gcc-initial"
7PROVIDES = "virtual/${TARGET_PREFIX}libc-initial" 7PROVIDES = "virtual/${TARGET_PREFIX}libc-initial"
8PACKAGES = "" 8PACKAGES = ""
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
22do_install() { 28do_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 () {
22PROVIDES += "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" 22PROVIDES += "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc"
23PROVIDES += "${@['virtual/libiconv', ''][bb.data.getVar('USE_NLS', d, 1) != 'yes']}" 23PROVIDES += "${@['virtual/libiconv', ''][bb.data.getVar('USE_NLS', d, 1) != 'yes']}"
24DEPENDS = "virtual/${TARGET_PREFIX}binutils \ 24DEPENDS = "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
28DEPENDS_append_bfin = " elf2flt " 28DEPENDS_append_bfin = " elf2flt "