From 3eeda53dd5a0915d1a7176e70d07fed1139b3056 Mon Sep 17 00:00:00 2001 From: Quentin Schulz Date: Fri, 31 May 2024 11:25:08 +0200 Subject: [PATCH] rk3588/rk3588s: add SOC_FAMILY This adds an SOC_FAMILY for rk3588 and rk3588s. Note that we are NOT "require"'ing conf/machine/include/soc-family.inc so SOC_FAMILY is just another BitBake variable. If we were to require this file, it would break the MACHINEOVERRIDES order, so some more changes would be required to handle those properly. Signed-off-by: Quentin Schulz --- conf/machine/include/rk3588.inc | 1 + conf/machine/include/rk3588s.inc | 1 + 2 files changed, 2 insertions(+) diff --git a/conf/machine/include/rk3588.inc b/conf/machine/include/rk3588.inc index 34f0627..958efb2 100644 --- a/conf/machine/include/rk3588.inc +++ b/conf/machine/include/rk3588.inc @@ -1,4 +1,5 @@ MACHINEOVERRIDES =. "rk3588:" +SOC_FAMILY = "rk3588" # the rk3588s is a "stripped-down" version of the rk3588 # in the kernel's device-tree the rk3588 builds on top of the rk3588s diff --git a/conf/machine/include/rk3588s.inc b/conf/machine/include/rk3588s.inc index 878f7a8..6e700d8 100644 --- a/conf/machine/include/rk3588s.inc +++ b/conf/machine/include/rk3588s.inc @@ -1,3 +1,4 @@ +SOC_FAMILY ?= "rk3588s" MACHINEOVERRIDES =. "rk3588s:" DEFAULTTUNE ?= "cortexa76-cortexa55-crypto"