diff options
author | Chris Larson <clarson@kergoth.com> | 2004-09-16 02:25:05 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-09-16 02:25:05 +0000 |
commit | 1d780f07b5c8637a7fd59dc8f19199c2d13d90be (patch) | |
tree | 742b5411be64c8134ca91e2279ea225e1fd167a2 /klibc | |
parent | bc2f9d886c65ee97c499b8dd6822590e515801c5 (diff) |
Correct klibc usage of our filter_out convenience function.
BKrev: 4148f981j9NMU7sRjoGEpbjYvFANcA
Diffstat (limited to 'klibc')
-rw-r--r-- | klibc/klibc_0.157.oe | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/klibc/klibc_0.157.oe b/klibc/klibc_0.157.oe index e69de29bb2..a97d4eb20d 100644 --- a/klibc/klibc_0.157.oe +++ b/klibc/klibc_0.157.oe @@ -0,0 +1,33 @@ +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>" + +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" |