mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-04 16:10:10 +00:00
* add install-patch creating symlinks as done by debian * extra add the mtd headers * refresh patches (split out prefix.patch) * recipe is now not machine-specific anymore * bump INC_PR Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
51 lines
1.6 KiB
HTML
51 lines
1.6 KiB
HTML
DEPENDS = "linux-libc-headers perl-native"
|
|
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."
|
|
LICENSE = "BSD-3-Clause & GPL-2.0 & MIT & Zlib"
|
|
LIC_FILES_CHKSUM = "file://usr/klibc/LICENSE;md5=d75181f10e998c21eb147f6d2e43ce8b"
|
|
|
|
# Prevents do_package failures with:
|
|
# debugsources.list: No such file or directory:
|
|
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
|
|
|
INC_PR = "r1"
|
|
|
|
KLIBC_ARCH = '${TARGET_ARCH}'
|
|
KLIBC_ARCH_armeb = 'arm'
|
|
KLIBC_ARCH_mipsel = 'mips'
|
|
KLIBC_ARCH_x86 = 'i386'
|
|
KLIBC_ARCH_i486 = 'i386'
|
|
KLIBC_ARCH_i586 = 'i386'
|
|
KLIBC_ARCH_i686 = 'i386'
|
|
KLIBC_ARCH_pentium = 'i386'
|
|
|
|
SRCREV = "c7dedd5d11b075b5e6cecd6aa82b70b748179121"
|
|
SRC_URI = "git://git.kernel.org/pub/scm/libs/klibc/klibc.git;protocol=git"
|
|
|
|
SRC_URI_append_linux-gnueabi = " file://klibc-config-eabi.patch"
|
|
SRC_URI_append_linux-uclibceabi = " file://klibc-config-eabi.patch"
|
|
|
|
SRC_URI += "file://fstype-sane-vfat-and-jffs2-for-1.5.patch \
|
|
file://klibc-linux-libc-dev.patch \
|
|
file://modprobe.patch \
|
|
file://dash_readopt.patch \
|
|
file://wc.patch \
|
|
file://prefix.patch \
|
|
file://staging.patch \
|
|
file://kernel_3.2__aligned_u64.patch \
|
|
"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
EXTRA_OEMAKE = "'KLIBCARCH=${KLIBC_ARCH}' \
|
|
'CROSS_COMPILE=${TARGET_PREFIX}' \
|
|
'KLIBCKERNELSRC=${STAGING_DIR_TARGET}/${exec_prefix}' \
|
|
"
|
|
|
|
do_configure () {
|
|
|
|
ln -sf "${STAGING_DIR_TARGET}/${exec_prefix}" linux
|
|
}
|