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

Message ID b0f55d0fc4ef33c8b24b658a8829d88646ddaf36.1642172230.git.diego.sueiro@arm.com
State New
Headers show
Series meta-arm: Make generic-arm64 kernel cfg based on linux-yocto standard kernel type | expand

Commit Message

Diego Sueiro Jan. 14, 2022, 2:58 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
---
 .../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. 17, 2022, 8:54 p.m. UTC | #1
On Fri, 14 Jan 2022 14:58:02 +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: a70e04d9f86e4f81d288de31eca241e0c28daf96

Best regards,
Jon Mason Jan. 29, 2022, 4:30 a.m. UTC | #2
On Fri, 14 Jan 2022 14:58:02 +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