diff mbox series

[1/2] arm-bsp/linux-yocto: add 5.19 kernel recipe for N1SDP

Message ID 20230208133353.1969816-1-ross.burton@arm.com
State New
Headers show
Series [1/2] arm-bsp/linux-yocto: add 5.19 kernel recipe for N1SDP | expand

Commit Message

Ross Burton Feb. 8, 2023, 1:33 p.m. UTC
Currently the N1SDP patches haven't been ported to 6.1 and the
port/testing isn't trivial. Until the relevant team has done the port to
6.1, carry a 5.19 kernel in meta-arm-bsp for N1SDP.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../recipes-kernel/linux/linux-yocto_5.19.bb  | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.19.bb

Comments

Jon Mason Feb. 12, 2023, 9:29 p.m. UTC | #1
On Wed, 8 Feb 2023 13:33:52 +0000, Ross Burton wrote:
> Currently the N1SDP patches haven't been ported to 6.1 and the
> port/testing isn't trivial. Until the relevant team has done the port to
> 6.1, carry a 5.19 kernel in meta-arm-bsp for N1SDP.

Applied, thanks!

[1/2] arm-bsp/linux-yocto: add 5.19 kernel recipe for N1SDP
      commit: 3d39ae853c91c8464815d3c34b339438ba735c95
[2/2] arm/linux-yocto: remove obsolete 5.19 bbappend
      commit: 0617555fa5ead9bc1ab07b5a4de17e6c3da16f95

Best regards,
Jon Mason Feb. 17, 2023, 4:30 a.m. UTC | #2
On Wed, 8 Feb 2023 13:33:52 +0000, Ross Burton wrote:
> Currently the N1SDP patches haven't been ported to 6.1 and the
> port/testing isn't trivial. Until the relevant team has done the port to
> 6.1, carry a 5.19 kernel in meta-arm-bsp for N1SDP.

Applied, thanks!

[1/2] arm-bsp/linux-yocto: add 5.19 kernel recipe for N1SDP
      commit: 3d39ae853c91c8464815d3c34b339438ba735c95
[2/2] arm/linux-yocto: remove obsolete 5.19 bbappend
      commit: 0617555fa5ead9bc1ab07b5a4de17e6c3da16f95

Best regards,
diff mbox series

Patch

diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.19.bb b/meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.19.bb
new file mode 100644
index 00000000..3bd4c756
--- /dev/null
+++ b/meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.19.bb
@@ -0,0 +1,28 @@ 
+KBRANCH ?= "v5.19/standard/base"
+
+require recipes-kernel/linux/linux-yocto.inc
+
+SRCREV_machine ?= "84f2f8e7a625aae0fa9e7027a2e774b99b646cf7"
+SRCREV_meta ?= "239a6c0d3c3b046971909f1e066380465b0c331d"
+
+SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \
+           git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.19;destsuffix=${KMETA}"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
+LINUX_VERSION ?= "5.19.17"
+
+DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
+DEPENDS += "openssl-native util-linux-native"
+DEPENDS += "gmp-native libmpc-native"
+
+PV = "${LINUX_VERSION}+git${SRCPV}"
+
+KMETA = "kernel-meta"
+KCONF_BSP_AUDIT_LEVEL = "1"
+
+# Functionality flags
+KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
+KERNEL_FEATURES:append = " ${KERNEL_EXTRA_FEATURES}"
+KERNEL_FEATURES:append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "", d)}"
+KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc", "", d)}"
+KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/gpio/mockup.scc", "", d)}"