diff mbox series

[meta-rockchip,2/5] provide kernel *.inc

Message ID 20251219070014.39432-2-twoerner@gmail.com
State New
Headers show
Series [meta-rockchip,1/5] kmeta reorganization | expand

Commit Message

Trevor Woerner Dec. 19, 2025, 7 a.m. UTC
Consolidate the two bbappends for linux-yocto and linux-yocto-dev and
provide the "guts" of the rockchip additions in an *inc file which could
be used by other linux kernel recipes outside this layer when a rockchip
machine is used.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 recipes-kernel/linux/linux-%.bbappend                          | 1 +
 .../linux/{linux-yocto_%.bbappend => linux-rockchip.inc}       | 0
 recipes-kernel/linux/linux-yocto-dev.bbappend                  | 3 ---
 3 files changed, 1 insertion(+), 3 deletions(-)
 create mode 100644 recipes-kernel/linux/linux-%.bbappend
 rename recipes-kernel/linux/{linux-yocto_%.bbappend => linux-rockchip.inc} (100%)
 delete mode 100644 recipes-kernel/linux/linux-yocto-dev.bbappend
diff mbox series

Patch

diff --git a/recipes-kernel/linux/linux-%.bbappend b/recipes-kernel/linux/linux-%.bbappend
new file mode 100644
index 000000000000..34bf335d0b10
--- /dev/null
+++ b/recipes-kernel/linux/linux-%.bbappend
@@ -0,0 +1 @@ 
+require linux-rockchip.inc
diff --git a/recipes-kernel/linux/linux-yocto_%.bbappend b/recipes-kernel/linux/linux-rockchip.inc
similarity index 100%
rename from recipes-kernel/linux/linux-yocto_%.bbappend
rename to recipes-kernel/linux/linux-rockchip.inc
diff --git a/recipes-kernel/linux/linux-yocto-dev.bbappend b/recipes-kernel/linux/linux-yocto-dev.bbappend
deleted file mode 100644
index 81d2b6d693c4..000000000000
--- a/recipes-kernel/linux/linux-yocto-dev.bbappend
+++ /dev/null
@@ -1,3 +0,0 @@ 
-FILESEXTRAPATHS:prepend := "${THISDIR}/linux-rockchip:"
-
-SRC_URI:append:rockchip = " file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta"