summaryrefslogtreecommitdiffstats
path: root/meta/packages/uclibc/uclibc.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-09-02 20:43:11 +0000
committerRichard Purdie <richard@openedhand.com>2007-09-02 20:43:11 +0000
commitc51edd3fdb40fa7b99a9060828d1b597664800a1 (patch)
tree511f7c9900c02e574ce9b9043dad4c461af3b00a /meta/packages/uclibc/uclibc.inc
parentf1e0aeba07d38b94b0a52081902b253ab8cd28bd (diff)
downloadpoky-c51edd3fdb40fa7b99a9060828d1b597664800a1.tar.gz
uclibc: Sync with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2659 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/uclibc/uclibc.inc')
-rw-r--r--meta/packages/uclibc/uclibc.inc11
1 files changed, 9 insertions, 2 deletions
diff --git a/meta/packages/uclibc/uclibc.inc b/meta/packages/uclibc/uclibc.inc
index bae3f2d042..7fb8e5cf28 100644
--- a/meta/packages/uclibc/uclibc.inc
+++ b/meta/packages/uclibc/uclibc.inc
@@ -23,11 +23,16 @@ PROVIDES += "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-initial linux-libc-headers"
26
27# Blackfin needs a wrapper around ld
28DEPENDS_append_bfin = " elf2flt "
29
26INHIBIT_DEFAULT_DEPS = "1" 30INHIBIT_DEFAULT_DEPS = "1"
27PARALLEL_MAKE = "" 31PARALLEL_MAKE = ""
28 32
29PACKAGES =+ "ldd uclibc-utils-dbg uclibc-utils uclibc-gconv uclibc-thread-db" 33PACKAGES =+ "ldd uclibc-utils-dbg uclibc-utils uclibc-gconv uclibc-thread-db"
30 34
35# The last line (gdb and lib1) is for uclinux-uclibc builds
31uclibc_baselibs = "/lib/libcrypt*.so* /lib/libdl*.so \ 36uclibc_baselibs = "/lib/libcrypt*.so* /lib/libdl*.so \
32 /lib/libintl*.so* /lib/libm*.so \ 37 /lib/libintl*.so* /lib/libm*.so \
33 /lib/libnsl*.so* /lib/libpthread*.so \ 38 /lib/libnsl*.so* /lib/libpthread*.so \
@@ -35,7 +40,9 @@ uclibc_baselibs = "/lib/libcrypt*.so* /lib/libdl*.so \
35 /lib/libuClibc*.so* /lib/ld*.so* \ 40 /lib/libuClibc*.so* /lib/ld*.so* \
36 /lib/libc*.so* /lib/libdl*.so* \ 41 /lib/libc*.so* /lib/libdl*.so* \
37 /lib/libm*.so* /lib/libutil*.so* \ 42 /lib/libm*.so* /lib/libutil*.so* \
38 /lib/libpthread*.so* /lib/librt*.so*" 43 /lib/libpthread*.so* /lib/librt*.so* \
44 /usr/lib/libc.gdb /usr/lib/libc /lib/lib1.so \
45 "
39FILES_${PN} = "${sysconfdir} ${uclibc_baselibs} /sbin/ldconfig \ 46FILES_${PN} = "${sysconfdir} ${uclibc_baselibs} /sbin/ldconfig \
40 ${libexecdir} ${datadir}/zoneinfo ${libdir}/locale" 47 ${libexecdir} ${datadir}/zoneinfo ${libdir}/locale"
41FILES_ldd = "${bindir}/ldd" 48FILES_ldd = "${bindir}/ldd"
@@ -128,7 +135,7 @@ do_configure() {
128 135
129 sed -i -e '/CONFIG_ARM_EABI/d' ${S}/.config 136 sed -i -e '/CONFIG_ARM_EABI/d' ${S}/.config
130 137
131 if [ "${TARGET_OS}" == "linux-gnueabi" -o "${TARGET_OS}" == "linux-uclibcgnueabi" ]; then 138 if [ "${TARGET_OS}" = "linux-gnueabi" -o "${TARGET_OS}" = "linux-uclibcgnueabi" ]; then
132 echo "CONFIG_ARM_EABI=y" >> ${S}/.config 139 echo "CONFIG_ARM_EABI=y" >> ${S}/.config
133 else 140 else
134 echo "# CONFIG_ARM_EABI is not set" >> ${S}/.config 141 echo "# CONFIG_ARM_EABI is not set" >> ${S}/.config