[PATCH 1/1] linux-yocto: Use in-tree config for genericarm64

Alexander Sowarka <[email protected]> Mon, 16 Jun 2025 15:46:07 -0300
Newsgroups org.yoctoproject.lists.poky
Message-ID <[email protected]>
The genericarm64 machine should run on most ARM SystemReady devices.
The arm64 configuration in the mainline kernel repository works stable
on a lot more devices then the poky internal one.
Switch to using the in-tree kernel config to run on more SystemReady
devices.

Signed-off-by: Alexander Sowarka <[email protected]>
---
 meta-yocto-bsp/recipes-kernel/linux/linux-yocto-dev.bbappend | 2 ++
 meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto-dev.bbappend b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto-dev.bbappend
index 5b1b736b1c..5b3c31f530 100644
--- a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto-dev.bbappend
+++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto-dev.bbappend
@@ -3,6 +3,8 @@ KBRANCH:genericx86-64  = "standard/base"
 KBRANCH:beaglebone-yocto = "standard/beaglebone"
 
 KMACHINE:genericarm64 ?= "genericarm64"
+KBUILD_DEFCONFIG:genericarm64 ?= "defconfig"
+KCONFIG_MODE:genericarm64 ?= "alldefconfig"
 KMACHINE:genericx86 ?= "common-pc"
 KMACHINE:genericx86-64 ?= "common-pc-64"
 KMACHINE:beaglebone-yocto ?= "beaglebone"
diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend
index 3f33ec991d..2159717cd0 100644
--- a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend
+++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend
@@ -8,6 +8,8 @@ KBRANCH:genericx86-64  = "v6.6/standard/base"
 KBRANCH:beaglebone-yocto = "v6.6/standard/beaglebone"
 
 KMACHINE:genericarm64 ?= "genericarm64"
+KBUILD_DEFCONFIG:genericarm64 ?= "defconfig"
+KCONFIG_MODE:genericarm64 ?= "alldefconfig"
 KMACHINE:genericx86 ?= "common-pc"
 KMACHINE:genericx86-64 ?= "common-pc-64"
 KMACHINE:beaglebone-yocto ?= "beaglebone"