From 9cc1290cd6dd87f8b5adcf804ae29ef63d9aca95 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Sun, 2 Jul 2023 00:53:34 +0000 Subject: linux-libc-headers: bump to 6.4 kernel version 6.4 is the reference kernel for the fall release. This brings libc-headers up to date with that tested reference For musl, we drop one patch that has been merged upstream. (From OE-Core rev: 8dce94b89396a99bb20a0a0ba9db0244d95db7e0) Signed-off-by: Bruce Ashfield Signed-off-by: Richard Purdie --- meta/conf/distro/include/tcmode-default.inc | 2 +- ...lude-linux-stddef.h-in-swab.h-uapi-header.patch | 42 ---------------------- .../linux-libc-headers/linux-libc-headers_6.1.bb | 18 ---------- .../linux-libc-headers/linux-libc-headers_6.4.bb | 17 +++++++++ 4 files changed, 18 insertions(+), 61 deletions(-) delete mode 100644 meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-include-linux-stddef.h-in-swab.h-uapi-header.patch delete mode 100644 meta/recipes-kernel/linux-libc-headers/linux-libc-headers_6.1.bb create mode 100644 meta/recipes-kernel/linux-libc-headers/linux-libc-headers_6.4.bb (limited to 'meta') diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index 0b33e61924..18daf446e5 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc @@ -21,7 +21,7 @@ SDKGCCVERSION ?= "${GCCVERSION}" BINUVERSION ?= "2.40%" GDBVERSION ?= "13.%" GLIBCVERSION ?= "2.37" -LINUXLIBCVERSION ?= "6.1%" +LINUXLIBCVERSION ?= "6.4%" QEMUVERSION ?= "8.0%" GOVERSION ?= "1.20%" LLVMVERSION ?= "16.%" diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-include-linux-stddef.h-in-swab.h-uapi-header.patch b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-include-linux-stddef.h-in-swab.h-uapi-header.patch deleted file mode 100644 index 5b7c1b6e21..0000000000 --- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-include-linux-stddef.h-in-swab.h-uapi-header.patch +++ /dev/null @@ -1,42 +0,0 @@ -From dc221138c809125dc1bbff8506c70cb7bd846368 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Wed, 12 Sep 2018 17:08:58 -0700 -Subject: [PATCH] include linux/stddef.h in swab.h uapi header - -swab.h uses __always_inline without including the header where it is -defined, this is exposed by musl based distributions where this macro is -not defined by system C library headers unlike glibc where it is defined -in sys/cdefs.h and that header gets pulled in indirectly via - -features.h -> sys/cdefs.h - -and features.h gets pulled in a lot of headers. Therefore it may work in -cases where features.h is includes but not otherwise. - -Adding linux/stddef.h here ensures that __always_inline is always -defined independent of which C library is used in userspace - -Upstream-Status: Submitted [https://lkml.org/lkml/2018/9/13/78] - -Signed-off-by: Khem Raj -Cc: Philippe Ombredanne -Cc: Kate Stewart -Cc: Greg Kroah-Hartman -Cc: Thomas Gleixner - ---- - include/uapi/linux/swab.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/include/uapi/linux/swab.h b/include/uapi/linux/swab.h -index 7272f85d6..2912fe463 100644 ---- a/include/uapi/linux/swab.h -+++ b/include/uapi/linux/swab.h -@@ -3,6 +3,7 @@ - #define _UAPI_LINUX_SWAB_H - - #include -+#include - #include - #include - #include diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_6.1.bb b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_6.1.bb deleted file mode 100644 index cbdebdc1e8..0000000000 --- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_6.1.bb +++ /dev/null @@ -1,18 +0,0 @@ -require linux-libc-headers.inc - -SRC_URI:append:libc-musl = "\ - file://0001-libc-compat.h-fix-some-issues-arising-from-in6.h.patch \ - file://0003-remove-inclusion-of-sysinfo.h-in-kernel.h.patch \ - file://0001-libc-compat.h-musl-_does_-define-IFF_LOWER_UP-DORMAN.patch \ - file://0001-include-linux-stddef.h-in-swab.h-uapi-header.patch \ - " - -SRC_URI += "\ - file://0001-kbuild-install_headers.sh-Strip-_UAPI-from-if-define.patch \ -" - -LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" - -SRC_URI[sha256sum] = "2ca1f17051a430f6fed1196e4952717507171acfd97d96577212502703b25deb" - - diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_6.4.bb b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_6.4.bb new file mode 100644 index 0000000000..c52315499e --- /dev/null +++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_6.4.bb @@ -0,0 +1,17 @@ +require linux-libc-headers.inc + +SRC_URI:append:libc-musl = "\ + file://0001-libc-compat.h-fix-some-issues-arising-from-in6.h.patch \ + file://0003-remove-inclusion-of-sysinfo.h-in-kernel.h.patch \ + file://0001-libc-compat.h-musl-_does_-define-IFF_LOWER_UP-DORMAN.patch \ + " + +SRC_URI += "\ + file://0001-kbuild-install_headers.sh-Strip-_UAPI-from-if-define.patch \ +" + +LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" + +SRC_URI[sha256sum] = "8fa0588f0c2ceca44cac77a0e39ba48c9f00a6b9dc69761c02a5d3efac8da7f3" + + -- cgit v1.2.3-54-g00ecf