diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-05-25 13:28:52 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-05-26 07:54:17 +0100 |
| commit | deaedea295042df3e956660e43dbc871a8fa42d4 (patch) | |
| tree | 11bb26f69c7dd971d24a7834a06392b43f994fc3 | |
| parent | 34004afb65cd5c677b8e2c944144eeb91d86abfd (diff) | |
| download | poky-deaedea295042df3e956660e43dbc871a8fa42d4.tar.gz | |
linux-yocto: Drop 5.15 support
5.15 doesn't work with gcc 13 and we'll be replacing 5.15 with a new kernel
version later in the release cycle. Drop 5.15 now so we can move forward
with gcc 13 and we'll add a new kernel version later.
(From OE-Core rev: e30b37776d16cfd4ce7f79746427ccd95b306059)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb | 45 | ||||
| -rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb | 30 | ||||
| -rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_5.15.bb | 70 |
3 files changed, 0 insertions, 145 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb b/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb deleted file mode 100644 index 475fe34066..0000000000 --- a/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb +++ /dev/null | |||
| @@ -1,45 +0,0 @@ | |||
| 1 | KBRANCH ?= "v5.15/standard/preempt-rt/base" | ||
| 2 | |||
| 3 | require recipes-kernel/linux/linux-yocto.inc | ||
| 4 | |||
| 5 | # Skip processing of this recipe if it is not explicitly specified as the | ||
| 6 | # PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying | ||
| 7 | # to build multiple virtual/kernel providers, e.g. as dependency of | ||
| 8 | # core-image-rt-sdk, core-image-rt. | ||
| 9 | python () { | ||
| 10 | if d.getVar("KERNEL_PACKAGE_NAME") == "kernel" and d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-yocto-rt": | ||
| 11 | raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") | ||
| 12 | } | ||
| 13 | |||
| 14 | SRCREV_machine ?= "8e0611e36c848a07f9cdd778903c9e51bb90b319" | ||
| 15 | SRCREV_meta ?= "e4b95ec17228274acb38bf10061448224df3a312" | ||
| 16 | |||
| 17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \ | ||
| 18 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=${KMETA};protocol=https" | ||
| 19 | |||
| 20 | LINUX_VERSION ?= "5.15.108" | ||
| 21 | |||
| 22 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | ||
| 23 | |||
| 24 | DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" | ||
| 25 | DEPENDS += "openssl-native util-linux-native" | ||
| 26 | |||
| 27 | PV = "${LINUX_VERSION}+git${SRCPV}" | ||
| 28 | |||
| 29 | KMETA = "kernel-meta" | ||
| 30 | KCONF_BSP_AUDIT_LEVEL = "1" | ||
| 31 | |||
| 32 | LINUX_KERNEL_TYPE = "preempt-rt" | ||
| 33 | |||
| 34 | COMPATIBLE_MACHINE = "^(qemux86|qemux86-64|qemuarm|qemuarmv5|qemuarm64|qemuppc|qemumips)$" | ||
| 35 | |||
| 36 | KERNEL_DEVICETREE:qemuarmv5 = "versatile-pb.dtb" | ||
| 37 | |||
| 38 | # Functionality flags | ||
| 39 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" | ||
| 40 | KERNEL_FEATURES:append = " ${KERNEL_EXTRA_FEATURES}" | ||
| 41 | KERNEL_FEATURES:append:qemuall=" cfg/virtio.scc features/drm-bochs/drm-bochs.scc" | ||
| 42 | KERNEL_FEATURES:append:qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" | ||
| 43 | KERNEL_FEATURES:append:qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" | ||
| 44 | KERNEL_FEATURES:append = "${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc", "", d)}" | ||
| 45 | KERNEL_FEATURES:append = "${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/gpio/mockup.scc", "", d)}" | ||
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb deleted file mode 100644 index 365d01db78..0000000000 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | KBRANCH ?= "v5.15/standard/tiny/base" | ||
| 2 | |||
| 3 | LINUX_KERNEL_TYPE = "tiny" | ||
| 4 | KCONFIG_MODE = "--allnoconfig" | ||
| 5 | |||
| 6 | require recipes-kernel/linux/linux-yocto.inc | ||
| 7 | |||
| 8 | LINUX_VERSION ?= "5.15.108" | ||
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | ||
| 10 | |||
| 11 | DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" | ||
| 12 | DEPENDS += "openssl-native util-linux-native" | ||
| 13 | |||
| 14 | KMETA = "kernel-meta" | ||
| 15 | KCONF_BSP_AUDIT_LEVEL = "2" | ||
| 16 | |||
| 17 | SRCREV_machine ?= "3d762b85647844790979dd1e17a762003aaa7476" | ||
| 18 | SRCREV_meta ?= "e4b95ec17228274acb38bf10061448224df3a312" | ||
| 19 | |||
| 20 | PV = "${LINUX_VERSION}+git${SRCPV}" | ||
| 21 | |||
| 22 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \ | ||
| 23 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=${KMETA};protocol=https" | ||
| 24 | |||
| 25 | COMPATIBLE_MACHINE = "^(qemux86|qemux86-64|qemuarm64|qemuarm|qemuarmv5)$" | ||
| 26 | |||
| 27 | # Functionality flags | ||
| 28 | KERNEL_FEATURES = "" | ||
| 29 | |||
| 30 | KERNEL_DEVICETREE:qemuarmv5 = "versatile-pb.dtb" | ||
diff --git a/meta/recipes-kernel/linux/linux-yocto_5.15.bb b/meta/recipes-kernel/linux/linux-yocto_5.15.bb deleted file mode 100644 index 54c8e12644..0000000000 --- a/meta/recipes-kernel/linux/linux-yocto_5.15.bb +++ /dev/null | |||
| @@ -1,70 +0,0 @@ | |||
| 1 | KBRANCH ?= "v5.15/standard/base" | ||
| 2 | |||
| 3 | require recipes-kernel/linux/linux-yocto.inc | ||
| 4 | |||
| 5 | # board specific branches | ||
| 6 | KBRANCH:qemuarm ?= "v5.15/standard/arm-versatile-926ejs" | ||
| 7 | KBRANCH:qemuarm64 ?= "v5.15/standard/qemuarm64" | ||
| 8 | KBRANCH:qemumips ?= "v5.15/standard/mti-malta32" | ||
| 9 | KBRANCH:qemuppc ?= "v5.15/standard/qemuppc" | ||
| 10 | KBRANCH:qemuriscv64 ?= "v5.15/standard/base" | ||
| 11 | KBRANCH:qemuriscv32 ?= "v5.15/standard/base" | ||
| 12 | KBRANCH:qemux86 ?= "v5.15/standard/base" | ||
| 13 | KBRANCH:qemux86-64 ?= "v5.15/standard/base" | ||
| 14 | KBRANCH:qemumips64 ?= "v5.15/standard/mti-malta64" | ||
| 15 | |||
| 16 | SRCREV_machine:qemuarm ?= "80421c525a12141d31bf1592b0d8c176defe3010" | ||
| 17 | SRCREV_machine:qemuarm64 ?= "9d140dbc3171bf272f51b524edeeb2f22783aca5" | ||
| 18 | SRCREV_machine:qemumips ?= "b29a8fa62d88db512f1fa5d60e430a851d7e3aaf" | ||
| 19 | SRCREV_machine:qemuppc ?= "7ee6b7fc4b57933114376cf012218c2ae3d23558" | ||
| 20 | SRCREV_machine:qemuriscv64 ?= "e8c818cce43dd720c366d831aeb102c20c237652" | ||
| 21 | SRCREV_machine:qemuriscv32 ?= "e8c818cce43dd720c366d831aeb102c20c237652" | ||
| 22 | SRCREV_machine:qemux86 ?= "e8c818cce43dd720c366d831aeb102c20c237652" | ||
| 23 | SRCREV_machine:qemux86-64 ?= "e8c818cce43dd720c366d831aeb102c20c237652" | ||
| 24 | SRCREV_machine:qemumips64 ?= "5c900befc90365f6daa80989e8de0ccc546ff0f5" | ||
| 25 | SRCREV_machine ?= "e8c818cce43dd720c366d831aeb102c20c237652" | ||
| 26 | SRCREV_meta ?= "e4b95ec17228274acb38bf10061448224df3a312" | ||
| 27 | |||
| 28 | # set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll | ||
| 29 | # get the <version>/base branch, which is pure upstream -stable, and the same | ||
| 30 | # meta SRCREV as the linux-yocto-standard builds. Select your version using the | ||
| 31 | # normal PREFERRED_VERSION settings. | ||
| 32 | BBCLASSEXTEND = "devupstream:target" | ||
| 33 | SRCREV_machine:class-devupstream ?= "3299fb36854fdc288bddc2c4d265f8a2e5105944" | ||
| 34 | PN:class-devupstream = "linux-yocto-upstream" | ||
| 35 | KBRANCH:class-devupstream = "v5.15/base" | ||
| 36 | |||
| 37 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH};protocol=https \ | ||
| 38 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=${KMETA};protocol=https" | ||
| 39 | |||
| 40 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | ||
| 41 | LINUX_VERSION ?= "5.15.108" | ||
| 42 | |||
| 43 | DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" | ||
| 44 | DEPENDS += "openssl-native util-linux-native" | ||
| 45 | DEPENDS += "gmp-native libmpc-native" | ||
| 46 | |||
| 47 | PV = "${LINUX_VERSION}+git${SRCPV}" | ||
| 48 | |||
| 49 | KMETA = "kernel-meta" | ||
| 50 | KCONF_BSP_AUDIT_LEVEL = "1" | ||
| 51 | |||
| 52 | KERNEL_DEVICETREE:qemuarmv5 = "versatile-pb.dtb" | ||
| 53 | |||
| 54 | COMPATIBLE_MACHINE = "^(qemuarm|qemuarmv5|qemuarm64|qemux86|qemuppc|qemuppc64|qemumips|qemumips64|qemux86-64|qemuriscv64|qemuriscv32)$" | ||
| 55 | |||
| 56 | # Functionality flags | ||
| 57 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" | ||
| 58 | KERNEL_FEATURES:append = " ${KERNEL_EXTRA_FEATURES}" | ||
| 59 | KERNEL_FEATURES:append:qemuall=" cfg/virtio.scc features/drm-bochs/drm-bochs.scc" | ||
| 60 | KERNEL_FEATURES:append:qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" | ||
| 61 | KERNEL_FEATURES:append:qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" | ||
| 62 | KERNEL_FEATURES:append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "", d)}" | ||
| 63 | KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc", "", d)}" | ||
| 64 | KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/gpio/mockup.scc", "", d)}" | ||
| 65 | KERNEL_FEATURES:append:powerpc =" arch/powerpc/powerpc-debug.scc" | ||
| 66 | KERNEL_FEATURES:append:powerpc64 =" arch/powerpc/powerpc-debug.scc" | ||
| 67 | KERNEL_FEATURES:append:powerpc64le =" arch/powerpc/powerpc-debug.scc" | ||
| 68 | |||
| 69 | INSANE_SKIP:kernel-vmlinux:qemuppc64 = "textrel" | ||
| 70 | |||
