summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-devtools/klibc/klibc.inc
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
commit1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch)
tree0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-initramfs/recipes-devtools/klibc/klibc.inc
downloadmeta-openembedded-daisy-140929.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-initramfs/recipes-devtools/klibc/klibc.inc')
-rw-r--r--meta-initramfs/recipes-devtools/klibc/klibc.inc51
1 files changed, 51 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc b/meta-initramfs/recipes-devtools/klibc/klibc.inc
new file mode 100644
index 0000000000..b4f0cab8c7
--- /dev/null
+++ b/meta-initramfs/recipes-devtools/klibc/klibc.inc
@@ -0,0 +1,51 @@
1DESCRIPTION = "klibc is intended to be a minimalistic libc subset for \
2use with initramfs. It is deliberately written for small size, \
3minimal entaglement, and portability, not speed."
4SECTION = "libs"
5LICENSE = "BSD-3-Clause & GPL-2.0 & MIT & Zlib"
6LIC_FILES_CHKSUM = "file://usr/klibc/LICENSE;md5=d75181f10e998c21eb147f6d2e43ce8b"
7DEPENDS = "linux-libc-headers perl-native"
8SRCREV = "f0440baf7f2dc1d9a25863c184d0a8fb73c4ee6c"
9
10SRC_URI = "git://git.kernel.org/pub/scm/libs/klibc/klibc.git"
11SRC_URI_append_linux-gnueabi = " file://klibc-config-eabi.patch \
12 file://armv4-fix-v4bx.patch \
13 "
14SRC_URI_append_linux-uclibceabi = " file://klibc-config-eabi.patch \
15 file://armv4-fix-v4bx.patch \
16 "
17SRC_URI += "file://klibc-linux-libc-dev.patch \
18 file://staging.patch \
19 "
20
21S = "${WORKDIR}/git"
22
23EXTRA_OEMAKE = "'KLIBCARCH=${KLIBC_ARCH}' \
24 'CROSS_COMPILE=${TARGET_PREFIX}' \
25 'KLIBCKERNELSRC=${STAGING_DIR_TARGET}${exec_prefix}' \
26 'prefix=${exec_prefix}' \
27 'INSTALLROOT=${D}' \
28 'SHLIBDIR=${libdir}' \
29 "
30
31export FIX_ARMV4_EABI_BX = "${FIX_V4BX}"
32
33do_configure () {
34 ln -sf "${STAGING_DIR_TARGET}${exec_prefix}" linux
35}
36
37INHIBIT_PACKAGE_STRIP = "1"
38INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
39KLIBC_ARCH = "${TARGET_ARCH}"
40KLIBC_ARCH_aarch64 = "arm64"
41KLIBC_ARCH_armeb = "arm"
42KLIBC_ARCH_mipsel = "mips"
43KLIBC_ARCH_x86 = "i386"
44KLIBC_ARCH_x86-64 = "x86_64"
45KLIBC_ARCH_i486 = "i386"
46KLIBC_ARCH_i586 = "i386"
47KLIBC_ARCH_i686 = "i386"
48KLIBC_ARCH_pentium = "i386"
49KLIBC_ARCH_powerpc = "ppc"
50KLIBC_ARCH_powerpc64 = "ppc64"
51THIS_LIBKLIBC = "libklibc (= ${PV})"