diff mbox series

[3/3] linux-yocto: build modular kernel on genericarm64

Message ID 20250423080246.128723-3-mikko.rapeli@linaro.org
State New
Headers show
Series [1/3] kern-tools-native: update to support modular kernel builds | expand

Commit Message

Mikko Rapeli April 23, 2025, 8:02 a.m. UTC
genericarm64 inteds to support many devices which are not even
know at compile time and uses initramfs by default. Thus many
drivers can be build as modules to reduce kernel binary size
and boot time.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
---
 meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.12.bbappend | 2 ++
 1 file changed, 2 insertions(+)

Comments

Bruce Ashfield April 23, 2025, 12:31 p.m. UTC | #1
This is not the variable we'll be using for this, so again, do not apply
this patch.

Bruce

On Wed, Apr 23, 2025 at 4:03 AM Mikko Rapeli via lists.openembedded.org
<mikko.rapeli=linaro.org@lists.openembedded.org> wrote:

> genericarm64 inteds to support many devices which are not even
> know at compile time and uses initramfs by default. Thus many
> drivers can be build as modules to reduce kernel binary size
> and boot time.
>
> Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
> ---
>  meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.12.bbappend | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.12.bbappend
> b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.12.bbappend
> index 831cb556be..cda7fef449 100644
> --- a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.12.bbappend
> +++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.12.bbappend
> @@ -9,3 +9,5 @@ KMACHINE:genericx86-64 ?= "common-pc-64"
>
>  FILESEXTRAPATHS:prepend:genericarm64 := "${THISDIR}/files:"
>  SRC_URI:append:genericarm64 = "
> file://0001-Revert-serial-8250_omap-Drop-pm_runtime_irq_safe.patch"
> +
> +MODULAR_KERNEL:genericarm64 = "true"
> --
> 2.43.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#215266):
> https://lists.openembedded.org/g/openembedded-core/message/215266
> Mute This Topic: https://lists.openembedded.org/mt/112410523/1050810
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
diff mbox series

Patch

diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.12.bbappend b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.12.bbappend
index 831cb556be..cda7fef449 100644
--- a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.12.bbappend
+++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.12.bbappend
@@ -9,3 +9,5 @@  KMACHINE:genericx86-64 ?= "common-pc-64"
 
 FILESEXTRAPATHS:prepend:genericarm64 := "${THISDIR}/files:"
 SRC_URI:append:genericarm64 = " file://0001-Revert-serial-8250_omap-Drop-pm_runtime_irq_safe.patch"
+
+MODULAR_KERNEL:genericarm64 = "true"