summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/packages/meta/external-poky-toolchain.bb13
-rw-r--r--meta/packages/uclibc/uclibc-initial_0.9.29.bb8
-rw-r--r--meta/packages/uclibc/uclibc.inc2
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 @@
1PROVIDES = "\ 1PROVIDES = "\
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
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 "