diff mbox series

[meta-rockchip,v2,01/16] rk3588/rk3588s: add SOC_FAMILY

Message ID 20240515-rk3588-family-v2-1-f81897a3ac50@cherry.de
State New
Headers show
Series various reworks around u-boot and rkbin + fixes for MACHINEOVERRIDES | expand

Commit Message

Quentin Schulz May 15, 2024, 4:02 p.m. UTC
From: Quentin Schulz <quentin.schulz@cherry.de>

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 <quentin.schulz@cherry.de>
---
 conf/machine/include/rk3588.inc  | 1 +
 conf/machine/include/rk3588s.inc | 1 +
 2 files changed, 2 insertions(+)
diff mbox series

Patch

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"