arm/generic-arm64: Include generic-arm64-standard.scc into kernel config

Message ID f3f1229b971b69cb0e1c72eaee5f7a8fdf893589.1655378917.git.diego.sueiro@arm.com
State New
Headers show
Series arm/generic-arm64: Include generic-arm64-standard.scc into kernel config | expand

Commit Message

Diego Sueiro June 16, 2022, 11:29 a.m. UTC
From: Kamil Dziezyk <kamil.dziezyk@arm.com>

To allow bitbake including the 'generic-arm64-standard.scc' into the kernel
configuration, it has to be included as a kmeta type source to the SRC_URI.

Issue-Id: SCM-4394
Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com>
Change-Id: Iaebd0c7758038843a1d0f37decbef057629bf0bb
---
 .../{ => generic-arm64-kmeta}/generic-arm64-standard.scc      | 0
 meta-arm/recipes-kernel/linux/linux-yocto_%.bbappend          | 4 ++++
 2 files changed, 4 insertions(+)
 rename meta-arm/recipes-kernel/linux/linux-yocto/{ => generic-arm64-kmeta}/generic-arm64-standard.scc (100%)

Comments

Jon Mason June 16, 2022, 3:35 p.m. UTC | #1
On Thu, 16 Jun 2022 12:29:38 +0100, Diego Sueiro wrote:
> To allow bitbake including the 'generic-arm64-standard.scc' into the kernel
> configuration, it has to be included as a kmeta type source to the SRC_URI.

Applied, thanks!

[1/1] arm/generic-arm64: Include generic-arm64-standard.scc into kernel config
      commit: eb0fa0526255f1e2b4cb9955e47791f711bd4d31

Best regards,

Patch

diff --git a/meta-arm/recipes-kernel/linux/linux-yocto/generic-arm64-standard.scc b/meta-arm/recipes-kernel/linux/linux-yocto/generic-arm64-kmeta/generic-arm64-standard.scc
similarity index 100%
rename from meta-arm/recipes-kernel/linux/linux-yocto/generic-arm64-standard.scc
rename to meta-arm/recipes-kernel/linux/linux-yocto/generic-arm64-kmeta/generic-arm64-standard.scc
diff --git a/meta-arm/recipes-kernel/linux/linux-yocto_%.bbappend b/meta-arm/recipes-kernel/linux/linux-yocto_%.bbappend
index 14cc6df..cf093f0 100644
--- a/meta-arm/recipes-kernel/linux/linux-yocto_%.bbappend
+++ b/meta-arm/recipes-kernel/linux/linux-yocto_%.bbappend
@@ -1,6 +1,10 @@ 
 ARMFILESPATHS := "${THISDIR}/${PN}:"
 
 COMPATIBLE_MACHINE:generic-arm64 = "generic-arm64"
+FILESEXTRAPATHS:prepend:generic-arm64 = "${ARMFILESPATHS}"
+SRC_URI:append:generic-arm64 =" \
+    file://generic-arm64-kmeta;type=kmeta;destsuffix=generic-arm64-kmeta \
+    "
 
 FILESEXTRAPATHS:prepend:qemuarm64-secureboot = "${ARMFILESPATHS}"
 SRC_URI:append:qemuarm64-secureboot = " \