[honister] meta-arm: Make generic-arm64 kernel cfg based on linux-yocto standard kernel type

Message ID 6002a6eedfdc1c2681e8dc34c2bf35bec8b7178e.1643218652.git.diego.sueiro@arm.com
State New
Headers show
Series [honister] meta-arm: Make generic-arm64 kernel cfg based on linux-yocto standard kernel type | expand

Commit Message

Diego Sueiro Jan. 27, 2022, 5:30 p.m. UTC
By having the generic-arm64 machine using the same kernel config as the
linux-yocto standard kernel type, application layers can rely on the same base
configuration, independently of the target machine.

Also, the kernel-yocto.bbclass searches for .scc files in the FILESEXTRAPATHS.
Hence, we don't need to list generic-arm64-standard.scc in the SRC_URI.

Issue-Id: SCM-3910
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Change-Id: I46889ce38b32521d8350534cc590b57b158ad573
Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 .../linux/linux-yocto/generic-arm64-standard.scc             | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 meta-arm/recipes-kernel/linux/linux-yocto/generic-arm64-standard.scc

Comments

Jon Mason Jan. 29, 2022, 4:30 a.m. UTC | #1
On Thu, 27 Jan 2022 17:30:23 +0000, Diego Sueiro wrote:
> By having the generic-arm64 machine using the same kernel config as the
> linux-yocto standard kernel type, application layers can rely on the same base
> configuration, independently of the target machine.
> 
> Also, the kernel-yocto.bbclass searches for .scc files in the FILESEXTRAPATHS.
> Hence, we don't need to list generic-arm64-standard.scc in the SRC_URI.

Applied, thanks!

[1/1] meta-arm: Make generic-arm64 kernel cfg based on linux-yocto standard kernel type
      commit: 9653e905bdf05ac30d15fe81ebf71536d745e2c3

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-standard.scc
new file mode 100644
index 0000000..21bff02
--- /dev/null
+++ b/meta-arm/recipes-kernel/linux/linux-yocto/generic-arm64-standard.scc
@@ -0,0 +1,5 @@ 
+define KMACHINE generic-arm64
+define KTYPE standard
+define KARCH arm64
+
+include ktypes/standard/standard.scc