diff options
author | Koen Kooi <koen@openembedded.org> | 2005-06-30 08:19:37 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-06-30 08:19:37 +0000 |
commit | c8e5702127e507e82e6f68a4b8c546803accea9d (patch) | |
tree | 00583491f40ecc640f2b28452af995e3a63a09d7 /packages/klibc/klibc.inc | |
parent | 87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff) |
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/klibc/klibc.inc')
-rw-r--r-- | packages/klibc/klibc.inc | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/packages/klibc/klibc.inc b/packages/klibc/klibc.inc index e69de29bb2..ef5b57d8bc 100644 --- a/packages/klibc/klibc.inc +++ b/packages/klibc/klibc.inc @@ -0,0 +1,40 @@ +DEPENDS = "virtual/kernel" +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}" + +# for the correct kernel staging path +# inherit module-base + +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=' \ + '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" +# CFLAGS := "${@oe_filter_out('-I\S+', '${CFLAGS}', d)}" + +do_configure () { + ln -sf ${STAGING_KERNEL_DIR} linux +} |