new file mode 100644
@@ -0,0 +1,17 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens AG, 2022-2023
+#
+# Authors:
+# Jan Kiszka <jan.kiszka@siemens.com>
+#
+# SPDX-License-Identifier: MIT
+#
+
+SRC_URI:append = " ${@ \
+ 'git://gitlab.com/cip-project/cip-kernel/cip-kernel-config.git;protocol=https;branch=master;destsuffix=cip-kernel-config;name=cip-kernel-config' \
+ if d.getVar('USE_CIP_KERNEL_CONFIG') == '1' else '' \
+ }"
+
+SRCREV_cip-kernel-config ?= "d1efa37258380c7f4f39a8dee1bdb4d85f1c0199"
@@ -1,7 +1,7 @@
#
# CIP Core, generic profile
#
-# Copyright (c) Siemens AG, 2022
+# Copyright (c) Siemens AG, 2022-2023
#
# Authors:
# Jan Kiszka <jan.kiszka@siemens.com>
@@ -14,15 +14,10 @@ FILESEXTRAPATHS:prepend := "${FILE_DIRNAME}/files:"
KERNEL_DEFCONFIG ?= "${MACHINE}_defconfig"
require recipes-kernel/linux/linux-custom.inc
+require recipes-kernel/linux/cip-kernel-config.inc
SRC_URI += " \
https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/snapshot/linux-cip-${PV}.tar.gz \
"
-SRC_URI:append = " ${@ "git://gitlab.com/cip-project/cip-kernel/cip-kernel-config.git;protocol=https;branch=master;destsuffix=cip-kernel-config;name=cip-kernel-config" \
- if d.getVar('USE_CIP_KERNEL_CONFIG') == '1' else '' \
- }"
-
-SRCREV_cip-kernel-config ?= "d1efa37258380c7f4f39a8dee1bdb4d85f1c0199"
-
S = "${WORKDIR}/linux-cip-${PV}"
@@ -5,9 +5,12 @@
# SPDX-License-Identifier: MIT
require recipes-kernel/linux/linux-custom.inc
+require recipes-kernel/linux/cip-kernel-config.inc
ARCHIVE_VERSION = "${@ d.getVar('PV')[:-2] if d.getVar('PV').endswith('.0') else d.getVar('PV') }"
+KERNEL_DEFCONFIG_VERSION ?= "6.1.y-cip"
+
SRC_URI += " \
https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${ARCHIVE_VERSION}.tar.xz \
file://squashfs.cfg"