@@ -49,7 +49,7 @@ comment "Kernel options"
choice
prompt "CIP kernel version"
- default KERNEL_4_19
+ default KERNEL_5_10
config KERNEL_4_4
bool "Kernel 4.4.x-cip"
@@ -57,15 +57,20 @@ config KERNEL_4_4
config KERNEL_4_19
bool "Kernel 4.19.x-cip"
+config KERNEL_5_10
+ bool "Kernel 5.10.x-cip"
+
endchoice
config KAS_INCLUDE_KERNEL
string
default "kas/opt/4.4.yml" if KERNEL_4_4
default "kas/opt/4.19.yml" if KERNEL_4_19
+ default "kas/opt/5.10.yml" if KERNEL_5_10
config KERNEL_RT
bool "Real-time CIP kernel"
+ depends on !KERNEL_5_10
config KAS_INCLUDE_KERNEL_RT
string
@@ -12,5 +12,5 @@
require conf/distro/debian-bullseye.conf
require cip-core-common.inc
-PREFERRED_VERSION_linux-cip ?= "4.19.%"
+PREFERRED_VERSION_linux-cip ?= "5.10.%"
PREFERRED_VERSION_linux-cip-rt ?= "4.19.%"
similarity index 50%
copy from conf/distro/cip-core-bullseye.conf
copy to kas/opt/5.10.yml
@@ -9,8 +9,10 @@
# SPDX-License-Identifier: MIT
#
-require conf/distro/debian-bullseye.conf
-require cip-core-common.inc
+header:
+ version: 10
-PREFERRED_VERSION_linux-cip ?= "4.19.%"
-PREFERRED_VERSION_linux-cip-rt ?= "4.19.%"
+local_conf_header:
+ kernel-version: |
+ PREFERRED_VERSION_linux-cip = "5.10.%"
+ PREFERRED_VERSION_linux-cip-rt = "5.10.%"
similarity index 50%
copy from conf/distro/cip-core-bullseye.conf
copy to recipes-kernel/linux/linux-cip_5.10.83-cip1.bb
@@ -9,8 +9,6 @@
# SPDX-License-Identifier: MIT
#
-require conf/distro/debian-bullseye.conf
-require cip-core-common.inc
+require linux-cip-common.inc
-PREFERRED_VERSION_linux-cip ?= "4.19.%"
-PREFERRED_VERSION_linux-cip-rt ?= "4.19.%"
+SRC_URI[sha256sum] = "85af8f809b2505c6434266d6658d977d62d383889b3a4f9968b2764794108d4f"