summaryrefslogtreecommitdiff
path: root/packages/klibc/klibc_0.157.bb
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2004-12-31 22:40:07 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2004-12-31 22:40:07 +0000
commit00590e39668c11f13f315683c6a3435d768b1322 (patch)
treee09adcd896949a645ef97df84eb0071af24538c1 /packages/klibc/klibc_0.157.bb
parent9c9c7139952b06112d99b5b11bfa3d36435a6459 (diff)
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2004/12/31 14:38:06-08:00 (none)!ggilbert Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into olddog.(none):/home/ggilbert/oe/openembedded 2004/12/31 14:37:57-08:00 (none)!ggilbert Many files: More licenses 2004/12/31 21:40:58+00:00 nexus.co.uk!pb banish audiofile-config and other stuff from /usr/bin to separate packages 2004/12/31 21:38:39+00:00 nexus.co.uk!pb Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into stealth.nexus.co.uk:/home/pb/oe/oe 2004/12/31 21:38:10+00:00 nexus.co.uk!pb update glib-2.0 (and -native) to 2.6.0 BKrev: 41d5d547IMV0BSOCNaouK2zsnwHytg
Diffstat (limited to 'packages/klibc/klibc_0.157.bb')
-rw-r--r--packages/klibc/klibc_0.157.bb34
1 files changed, 34 insertions, 0 deletions
diff --git a/packages/klibc/klibc_0.157.bb b/packages/klibc/klibc_0.157.bb
index e69de29bb2..d40c4963c5 100644
--- a/packages/klibc/klibc_0.157.bb
+++ b/packages/klibc/klibc_0.157.bb
@@ -0,0 +1,34 @@
+SECTION = "libs"
+DESCRIPTION = "klibc is intended to be a minimalistic libc subset for \
+use with initramfs. It is deliberately written for small size, \
+minimal entaglement, and portability, not speed."
+MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+LICENSE ="BSD-ADV"
+SRC_URI = "http://www.kernel.org/pub/linux/libs/klibc/Stable/klibc-${PV}.tar.bz2"
+S = "${WORKDIR}/klibc-${PV}"
+
+# FIXME: This package fails to compile at the moment, and is missing a do_install()
+BROKEN = "1"
+
+EXTRA_OEMAKE = "'ARCH=${KLIBC_ARCH}' \
+ 'CROSS=${TARGET_PREFIX}' \
+ 'CC=${CC}' \
+ 'LD=${LD}' \
+ 'AR=${AR}' \
+ 'RANLIB=${RANLIB}' \
+ 'NM=${TARGET_PREFIX}nm' \
+ 'STRIP=echo' \
+ 'SHLIBDIR=/lib' \
+ 'HOST_CC=${BUILD_CC}' \
+ 'HOST_CFLAGS=${BUILD_CFLAGS}' \
+ 'HOST_LDFLAGS=${BUILD_LDFLAGS}' \
+ 'HOST_LIBS=' \
+ 'LDFLAGS=${LDFLAGS}' \
+ 'WARNFLAGS=${CFLAGS}' \
+ 'OPTFLAGS='"
+
+KLIBC_ARCH := '${TARGET_ARCH}'
+KLIBC_ARCH_armeb = 'arm'
+KLIBC_ARCH_mipsel = 'mips'
+
+CFLAGS := "${@oe_filter_out('-I\S+', '${CFLAGS}', d)} -I${STAGING_KERNEL_DIR}/include"