diff options
author | Adrian Bunk <bunk@stusta.de> | 2019-10-28 13:14:23 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-10-28 15:26:42 -0700 |
commit | 5a4d3da0c548c295a4c4a79b2935662180e639a0 (patch) | |
tree | 6020b0c09c33baa1417bdbbddc8b32ff43fb4180 /meta-initramfs | |
parent | bce8070ae1b54318bd74a1e87a9036a5e3452cf6 (diff) | |
download | meta-openembedded-5a4d3da0c548c295a4c4a79b2935662180e639a0.tar.gz |
klibc: Upgrade 2.0.6 -> 2.0.7
Patches applied upstream removed.
Use the release tarball.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-initramfs')
-rw-r--r-- | meta-initramfs/recipes-devtools/klibc/files/0001-Fix-missing-include-in-sys-mman.h.patch | 36 | ||||
-rw-r--r-- | meta-initramfs/recipes-devtools/klibc/files/klibc-config-eabi.patch | 23 | ||||
-rw-r--r-- | meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.7.bb (renamed from meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.6.bb) | 0 | ||||
-rw-r--r-- | meta-initramfs/recipes-devtools/klibc/klibc-static-utils_2.0.7.bb (renamed from meta-initramfs/recipes-devtools/klibc/klibc-static-utils_2.0.6.bb) | 0 | ||||
-rw-r--r-- | meta-initramfs/recipes-devtools/klibc/klibc-utils_2.0.7.bb (renamed from meta-initramfs/recipes-devtools/klibc/klibc-utils_2.0.6.bb) | 0 | ||||
-rw-r--r-- | meta-initramfs/recipes-devtools/klibc/klibc.inc | 11 | ||||
-rw-r--r-- | meta-initramfs/recipes-devtools/klibc/klibc_2.0.7.bb (renamed from meta-initramfs/recipes-devtools/klibc/klibc_2.0.6.bb) | 0 |
7 files changed, 6 insertions, 64 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/files/0001-Fix-missing-include-in-sys-mman.h.patch b/meta-initramfs/recipes-devtools/klibc/files/0001-Fix-missing-include-in-sys-mman.h.patch deleted file mode 100644 index 4bedef8052..0000000000 --- a/meta-initramfs/recipes-devtools/klibc/files/0001-Fix-missing-include-in-sys-mman.h.patch +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | From 36360b16833400de7818151be5588b16ac4fd5bc Mon Sep 17 00:00:00 2001 | ||
2 | From: Barret Rhoden <brho@google.com> | ||
3 | Date: Thu, 14 Mar 2019 17:30:38 -0400 | ||
4 | Subject: [PATCH] Fix missing include in sys/mman.h | ||
5 | |||
6 | Linux commit 746c9398f5ac ("arch: move common mmap flags to | ||
7 | linux/mman.h") moved a few mmap flags, particularly MAP_PRIVATE, from | ||
8 | asm/mman.h to linux/mman.h. This broke klibc's build, which uses | ||
9 | MAP_PRIVATE. | ||
10 | |||
11 | linux/mman.h includes asm/mman.h, so this commit merely includes | ||
12 | linux/mman.h instead of asm/mman.h. | ||
13 | |||
14 | Signed-off-by: Barret Rhoden <brho@google.com> | ||
15 | Signed-off-by: Ben Hutchings <ben@decadent.org.uk> | ||
16 | --- | ||
17 | Upstream-Status: Backport [https://git.kernel.org/pub/scm/libs/klibc/klibc.git/commit/?id=d4853d030639cf3542ae39129c18b654d8d4f020] | ||
18 | usr/include/sys/mman.h | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/usr/include/sys/mman.h b/usr/include/sys/mman.h | ||
22 | index 56f0b65c..3fd626e7 100644 | ||
23 | --- a/usr/include/sys/mman.h | ||
24 | +++ b/usr/include/sys/mman.h | ||
25 | @@ -7,7 +7,7 @@ | ||
26 | |||
27 | #include <klibc/extern.h> | ||
28 | #include <sys/types.h> | ||
29 | -#include <asm/mman.h> | ||
30 | +#include <linux/mman.h> | ||
31 | |||
32 | #define MAP_FAILED ((void *)-1) | ||
33 | |||
34 | -- | ||
35 | 2.23.0 | ||
36 | |||
diff --git a/meta-initramfs/recipes-devtools/klibc/files/klibc-config-eabi.patch b/meta-initramfs/recipes-devtools/klibc/files/klibc-config-eabi.patch deleted file mode 100644 index a6998f86d6..0000000000 --- a/meta-initramfs/recipes-devtools/klibc/files/klibc-config-eabi.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | From 1118cc971917abe19ddb029aa80417f6fd6bb343 Mon Sep 17 00:00:00 2001 | ||
2 | From: Thomas Kunze <thommycheck@gmx.de> | ||
3 | Date: Sat, 6 Aug 2011 05:30:14 +0000 | ||
4 | Subject: [PATCH] klibc: initial commit of version 1.5.24 | ||
5 | |||
6 | Patch was imported from the OpenEmbedded git server | ||
7 | (git://git.openembedded.org/openembedded) | ||
8 | as of commit id b6764cf32ec93547531130dca364fb95e1c495f4 | ||
9 | Signed-off-by: Thomas Kunze <thommycheck@gmx.de> | ||
10 | |||
11 | --- | ||
12 | defconfig | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | --- a/defconfig | ||
16 | +++ b/defconfig | ||
17 | @@ -6,5 +6,5 @@ CONFIG_KLIBC_ZLIB=y | ||
18 | CONFIG_REGPARM=y | ||
19 | # ARM options | ||
20 | # CONFIG_KLIBC_THUMB is not set | ||
21 | -# CONFIG_AEABI is not set | ||
22 | +CONFIG_AEABI=y | ||
23 | # CONFIG_DEBUG_INFO is not set | ||
diff --git a/meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.6.bb b/meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.7.bb index 4011aa231e..4011aa231e 100644 --- a/meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.6.bb +++ b/meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.7.bb | |||
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc-static-utils_2.0.6.bb b/meta-initramfs/recipes-devtools/klibc/klibc-static-utils_2.0.7.bb index c835fd647a..c835fd647a 100644 --- a/meta-initramfs/recipes-devtools/klibc/klibc-static-utils_2.0.6.bb +++ b/meta-initramfs/recipes-devtools/klibc/klibc-static-utils_2.0.7.bb | |||
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc-utils_2.0.6.bb b/meta-initramfs/recipes-devtools/klibc/klibc-utils_2.0.7.bb index 06e71cb7b8..06e71cb7b8 100644 --- a/meta-initramfs/recipes-devtools/klibc/klibc-utils_2.0.6.bb +++ b/meta-initramfs/recipes-devtools/klibc/klibc-utils_2.0.7.bb | |||
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc b/meta-initramfs/recipes-devtools/klibc/klibc.inc index 26689f87e7..e1afe7f33e 100644 --- a/meta-initramfs/recipes-devtools/klibc/klibc.inc +++ b/meta-initramfs/recipes-devtools/klibc/klibc.inc | |||
@@ -5,9 +5,8 @@ SECTION = "libs" | |||
5 | LICENSE = "BSD-3-Clause & GPL-2.0 & MIT & Zlib" | 5 | LICENSE = "BSD-3-Clause & GPL-2.0 & MIT & Zlib" |
6 | LIC_FILES_CHKSUM = "file://usr/klibc/LICENSE;md5=d75181f10e998c21eb147f6d2e43ce8b" | 6 | LIC_FILES_CHKSUM = "file://usr/klibc/LICENSE;md5=d75181f10e998c21eb147f6d2e43ce8b" |
7 | DEPENDS = "linux-libc-headers perl-native" | 7 | DEPENDS = "linux-libc-headers perl-native" |
8 | SRCREV = "22b36d1ae34416bc48869619cbb0cccb2070f48f" | ||
9 | 8 | ||
10 | SRC_URI = "git://git.kernel.org/pub/scm/libs/klibc/klibc.git \ | 9 | SRC_URI = "${KERNELORG_MIRROR}/linux/libs/klibc/2.0/klibc-${PV}.tar.xz \ |
11 | ${ARMPATCHES} \ | 10 | ${ARMPATCHES} \ |
12 | file://klcc-consider-sysroot.patch \ | 11 | file://klcc-consider-sysroot.patch \ |
13 | file://klcc-cross-accept-clang-options.patch \ | 12 | file://klcc-cross-accept-clang-options.patch \ |
@@ -23,16 +22,18 @@ SRC_URI = "git://git.kernel.org/pub/scm/libs/klibc/klibc.git \ | |||
23 | file://0001-klibc-add-getrandom-syscall.patch \ | 22 | file://0001-klibc-add-getrandom-syscall.patch \ |
24 | file://0001-klibc-Kbuild-Accept-EXTRA_KLIBCAFLAGS.patch \ | 23 | file://0001-klibc-Kbuild-Accept-EXTRA_KLIBCAFLAGS.patch \ |
25 | file://0001-Define-ulocked_-fgets-fread-fwrite-aliases.patch \ | 24 | file://0001-Define-ulocked_-fgets-fread-fwrite-aliases.patch \ |
26 | file://0001-Fix-missing-include-in-sys-mman.h.patch \ | ||
27 | " | 25 | " |
28 | 26 | ||
29 | ARMPATCHES ?= "" | 27 | ARMPATCHES ?= "" |
30 | 28 | ||
31 | ARMPATCHES_arm = "file://klibc-config-eabi.patch \ | 29 | ARMPATCHES_arm = " \ |
32 | file://armv4-fix-v4bx.patch \ | 30 | file://armv4-fix-v4bx.patch \ |
33 | " | 31 | " |
34 | 32 | ||
35 | S = "${WORKDIR}/git" | 33 | SRC_URI[md5sum] = "712f8bc1a069e03d92584b7f5380c521" |
34 | SRC_URI[sha256sum] = "abef2637ca823485d9c90ce9512e2b08a65047ec4da204635eeaef95a41a9122" | ||
35 | |||
36 | S = "${WORKDIR}/klibc-${PV}" | ||
36 | 37 | ||
37 | OPTFLAGS = "${TUNE_CCARGS} -Os" | 38 | OPTFLAGS = "${TUNE_CCARGS} -Os" |
38 | OPTFLAGS_append_toolchain-clang = " -fno-builtin-bcmp" | 39 | OPTFLAGS_append_toolchain-clang = " -fno-builtin-bcmp" |
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc_2.0.6.bb b/meta-initramfs/recipes-devtools/klibc/klibc_2.0.7.bb index 7df0b0a3d5..7df0b0a3d5 100644 --- a/meta-initramfs/recipes-devtools/klibc/klibc_2.0.6.bb +++ b/meta-initramfs/recipes-devtools/klibc/klibc_2.0.7.bb | |||