diff options
| -rw-r--r-- | recipes-kernel/linux/linux-intel-rt_5.15.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-intel-rt_5.15.bb b/recipes-kernel/linux/linux-intel-rt_5.15.bb new file mode 100644 index 00000000..bc11cb63 --- /dev/null +++ b/recipes-kernel/linux/linux-intel-rt_5.15.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | require linux-intel.inc | ||
| 2 | |||
| 3 | # Skip processing of this recipe if it is not explicitly specified as the | ||
| 4 | # PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying | ||
| 5 | # to build multiple virtual/kernel providers, e.g. as dependency of | ||
| 6 | # core-image-rt-sdk, core-image-rt. | ||
| 7 | python () { | ||
| 8 | if d.getVar("KERNEL_PACKAGE_NAME", True) == "kernel" and d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-intel-rt": | ||
| 9 | raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-intel-rt to enable it") | ||
| 10 | } | ||
| 11 | |||
| 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | ||
| 13 | SRC_URI:append = " file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch \ | ||
| 14 | " | ||
| 15 | |||
| 16 | KBRANCH = "5.15/preempt-rt" | ||
| 17 | KMETA_BRANCH = "yocto-5.15" | ||
| 18 | |||
| 19 | DEPENDS += "elfutils-native openssl-native util-linux-native" | ||
| 20 | |||
| 21 | LINUX_VERSION ?= "5.15.2" | ||
| 22 | SRCREV_machine ?= "f09e0e5e5d73c753dbdf2e9f0ac2d533a51e8dd8" | ||
| 23 | SRCREV_meta ?= "bee5d6a15909f05935f4a61f83a72cddfca7934a" | ||
| 24 | |||
| 25 | LINUX_KERNEL_TYPE = "preempt-rt" | ||
| 26 | |||
| 27 | # Disabling CONFIG_SND_SOC_INTEL_SKYLAKE for 32-bit, does not allow to set CONFIG_SND_SOC_INTEL_SST too, which | ||
| 28 | # causes config warning too. | ||
| 29 | KCONF_AUDIT_LEVEL:core2-32-intel-common = "0" | ||
