1 DEPENDS = "virtual/kernel perl-native"
3 DESCRIPTION = "klibc is intended to be a minimalistic libc subset for \
4 use with initramfs. It is deliberately written for small size, \
5 minimal entaglement, and portability, not speed."
7 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/libs/klibc/Stable/klibc-${PV}.tar.bz2 \
8 file://fstype-sane-vfat-and-jffs2-for-1.5.patch;patch=1 \
10 S = "${WORKDIR}/klibc-${PV}"
11 PACKAGE_ARCH = "${MACHINE_ARCH}"
13 KLIBC_ARCH = '${TARGET_ARCH}'
14 KLIBC_ARCH_armeb = 'arm'
15 KLIBC_ARCH_mipsel = 'mips'
17 # the klibc code contains ARM instructions (for ARM), this
18 # could be fixed, but for the moment:
19 ARM_INSTRUCTION_SET = "arm"
21 SRC_URI_append_linux-gnueabi = "file://klibc-config-eabi.patch;patch=1 \
23 SRC_URI_append_linux-uclibcgnueabi = "file://klibc-config-eabi.patch;patch=1 \
26 EXTRA_OEMAKE = "'KLIBCARCH=${KLIBC_ARCH}' \
27 'CROSS_COMPILE=${TARGET_PREFIX}' \
31 ln -sf ${STAGING_KERNEL_DIR} linux