summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-initramfs/recipes-devtools/klibc/klcc-cross_1.5.25.bb1
-rw-r--r--meta-initramfs/recipes-devtools/klibc/klibc-checksums_1.5.25.inc2
-rw-r--r--meta-initramfs/recipes-devtools/klibc/klibc-static-utils_1.5.25.bb1
-rw-r--r--meta-initramfs/recipes-devtools/klibc/klibc-utils_1.5.25.bb1
-rw-r--r--meta-initramfs/recipes-devtools/klibc/klibc.inc10
-rw-r--r--meta-initramfs/recipes-devtools/klibc/klibc_1.5.25.bb11
6 files changed, 9 insertions, 17 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/klcc-cross_1.5.25.bb b/meta-initramfs/recipes-devtools/klibc/klcc-cross_1.5.25.bb
index 922c8d84f..ad7c07e8c 100644
--- a/meta-initramfs/recipes-devtools/klibc/klcc-cross_1.5.25.bb
+++ b/meta-initramfs/recipes-devtools/klibc/klcc-cross_1.5.25.bb
@@ -1,7 +1,6 @@
1PR = "${INC_PR}.0" 1PR = "${INC_PR}.0"
2 2
3require klibc.inc 3require klibc.inc
4require klibc-checksums_${PV}.inc
5 4
6export KLCC_INST = "${STAGING_DIR_TARGET}/lib/klibc" 5export KLCC_INST = "${STAGING_DIR_TARGET}/lib/klibc"
7 6
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc-checksums_1.5.25.inc b/meta-initramfs/recipes-devtools/klibc/klibc-checksums_1.5.25.inc
deleted file mode 100644
index ebba6587c..000000000
--- a/meta-initramfs/recipes-devtools/klibc/klibc-checksums_1.5.25.inc
+++ /dev/null
@@ -1,2 +0,0 @@
1SRC_URI[md5sum] = "5bc4dcd63e9142b934787729133c2766"
2SRC_URI[sha256sum] = "0b910ec0b2a97d4c775ed06e44ad7bca7be150efdf2a77a19253a573e16367d3"
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc-static-utils_1.5.25.bb b/meta-initramfs/recipes-devtools/klibc/klibc-static-utils_1.5.25.bb
index c9749f0d7..484134e44 100644
--- a/meta-initramfs/recipes-devtools/klibc/klibc-static-utils_1.5.25.bb
+++ b/meta-initramfs/recipes-devtools/klibc/klibc-static-utils_1.5.25.bb
@@ -14,4 +14,3 @@ FILES_${PN} = ""
14 14
15require klibc-utils.inc 15require klibc-utils.inc
16require klibc.inc 16require klibc.inc
17require klibc-checksums_${PV}.inc
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc-utils_1.5.25.bb b/meta-initramfs/recipes-devtools/klibc/klibc-utils_1.5.25.bb
index b26dda400..37cab84c5 100644
--- a/meta-initramfs/recipes-devtools/klibc/klibc-utils_1.5.25.bb
+++ b/meta-initramfs/recipes-devtools/klibc/klibc-utils_1.5.25.bb
@@ -14,4 +14,3 @@ FILES_${PN} = ""
14 14
15require klibc-utils.inc 15require klibc-utils.inc
16require klibc.inc 16require klibc.inc
17require klibc-checksums_${PV}.inc
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc b/meta-initramfs/recipes-devtools/klibc/klibc.inc
index 1b1f7c626..bd365daf7 100644
--- a/meta-initramfs/recipes-devtools/klibc/klibc.inc
+++ b/meta-initramfs/recipes-devtools/klibc/klibc.inc
@@ -3,7 +3,7 @@ SECTION = "libs"
3DESCRIPTION = "klibc is intended to be a minimalistic libc subset for \ 3DESCRIPTION = "klibc is intended to be a minimalistic libc subset for \
4use with initramfs. It is deliberately written for small size, \ 4use with initramfs. It is deliberately written for small size, \
5minimal entaglement, and portability, not speed." 5minimal entaglement, and portability, not speed."
6LICENSE = "BSD-ADV" 6LICENSE = "BSD-3-Clause & GPL-2.0 & Zlib"
7LIC_FILES_CHKSUM = "file://usr/klibc/LICENSE;md5=d75181f10e998c21eb147f6d2e43ce8b" 7LIC_FILES_CHKSUM = "file://usr/klibc/LICENSE;md5=d75181f10e998c21eb147f6d2e43ce8b"
8 8
9PACKAGE_ARCH = "${MACHINE_ARCH}" 9PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -12,7 +12,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
12# debugsources.list: No such file or directory: 12# debugsources.list: No such file or directory:
13INHIBIT_PACKAGE_DEBUG_SPLIT = "1" 13INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
14 14
15INC_PR = "r0" 15INC_PR = "r1"
16 16
17KLIBC_ARCH = '${TARGET_ARCH}' 17KLIBC_ARCH = '${TARGET_ARCH}'
18KLIBC_ARCH_armeb = 'arm' 18KLIBC_ARCH_armeb = 'arm'
@@ -23,8 +23,8 @@ KLIBC_ARCH_i586 = 'i386'
23KLIBC_ARCH_i686 = 'i386' 23KLIBC_ARCH_i686 = 'i386'
24KLIBC_ARCH_pentium = 'i386' 24KLIBC_ARCH_pentium = 'i386'
25 25
26KLIBC_FETCHDIR = "1.5" 26SRCREV = "ff0a614bd724f6c4c6a5014a9955dc1bc028f336"
27SRC_URI = "${KERNELORG_MIRROR}/linux/libs/klibc/${KLIBC_FETCHDIR}/klibc-${PV}.tar.bz2" 27SRC_URI = "git://git.kernel.org/pub/scm/libs/klibc/klibc.git;protocol=git"
28 28
29SRC_URI_append_linux-gnueabi = " file://klibc-config-eabi.patch" 29SRC_URI_append_linux-gnueabi = " file://klibc-config-eabi.patch"
30SRC_URI_append_linux-uclibceabi = " file://klibc-config-eabi.patch" 30SRC_URI_append_linux-uclibceabi = " file://klibc-config-eabi.patch"
@@ -36,7 +36,7 @@ SRC_URI += "file://fstype-sane-vfat-and-jffs2-for-1.5.patch \
36 file://staging.patch \ 36 file://staging.patch \
37 " 37 "
38 38
39S = "${WORKDIR}/klibc-${PV}" 39S = "${WORKDIR}/git"
40 40
41EXTRA_OEMAKE = "'KLIBCARCH=${KLIBC_ARCH}' \ 41EXTRA_OEMAKE = "'KLIBCARCH=${KLIBC_ARCH}' \
42 'CROSS_COMPILE=${TARGET_PREFIX}' \ 42 'CROSS_COMPILE=${TARGET_PREFIX}' \
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc_1.5.25.bb b/meta-initramfs/recipes-devtools/klibc/klibc_1.5.25.bb
index a313bfd77..8a5062841 100644
--- a/meta-initramfs/recipes-devtools/klibc/klibc_1.5.25.bb
+++ b/meta-initramfs/recipes-devtools/klibc/klibc_1.5.25.bb
@@ -8,8 +8,9 @@ do_install() {
8 8
9 # the crosscompiler is packaged by klcc-cross 9 # the crosscompiler is packaged by klcc-cross
10 # remove klcc 10 # remove klcc
11 # remove also from FILES_libklibc-dev
12 rm ${D}${base_bindir}/klcc 11 rm ${D}${base_bindir}/klcc
12 # remove now empty dir
13 rmdir ${D}${base_bindir}
13 14
14 # remove Linux headers .install and ..install.cmd files 15 # remove Linux headers .install and ..install.cmd files
15 find ${D}${base_libdir}/klibc/include -name '.install' -delete 16 find ${D}${base_libdir}/klibc/include -name '.install' -delete
@@ -21,15 +22,11 @@ do_install() {
21 22
22} 23}
23 24
24PACKAGES = "libklibc libklibc-dev" 25PACKAGES = "libklibc libklibc-staticdev libklibc-dev"
25FILES_libklibc = "${base_libdir}/klibc-*.so" 26FILES_libklibc = "${base_libdir}/klibc-*.so"
27FILES_libklibc-staticdev = "${base_libdir}/klibc/lib/libc.a"
26FILES_libklibc-dev = "${base_libdir}/klibc.so \ 28FILES_libklibc-dev = "${base_libdir}/klibc.so \
27 ${base_libdir}/klibc/lib/* \ 29 ${base_libdir}/klibc/lib/* \
28 ${base_libdir}/klibc/include/* \ 30 ${base_libdir}/klibc/include/* \
29 " 31 "
30# see above
31# do not package it in -dev
32# ${base_bindir}/klcc \
33
34require klibc.inc 32require klibc.inc
35require klibc-checksums_${PV}.inc