Like we do with J721e, J7200, and J721s2, use a SoC header include file to define common properties. This eases adding new boards based on these SoC.
Signed-off-by: Andrew Davis <[email protected]> --- meta-ti-bsp/conf/machine/include/j784s4.inc | 10 ++++++++++ meta-ti-bsp/conf/machine/j784s4-evm.conf | 4 +--- 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 meta-ti-bsp/conf/machine/include/j784s4.inc diff --git a/meta-ti-bsp/conf/machine/include/j784s4.inc b/meta-ti-bsp/conf/machine/include/j784s4.inc new file mode 100644 index 00000000..d7a598d6 --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/j784s4.inc @@ -0,0 +1,10 @@ +require conf/machine/include/j7.inc +SOC_FAMILY:append = ":j784s4" + +MACHINE_FEATURES += "gpu" + +PREFERRED_PROVIDER_virtual/egl ?= "ti-img-rogue-umlibs" +PREFERRED_PROVIDER_virtual/libgles1 ?= "ti-img-rogue-umlibs" +PREFERRED_PROVIDER_virtual/libgles2 ?= "ti-img-rogue-umlibs" +PREFERRED_PROVIDER_virtual/libgbm ?= "ti-img-rogue-umlibs" +PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver" diff --git a/meta-ti-bsp/conf/machine/j784s4-evm.conf b/meta-ti-bsp/conf/machine/j784s4-evm.conf index 96acca13..10d8aad0 100644 --- a/meta-ti-bsp/conf/machine/j784s4-evm.conf +++ b/meta-ti-bsp/conf/machine/j784s4-evm.conf @@ -2,9 +2,7 @@ #@NAME: J784S4 EVM #@DESCRIPTION: Machine configuration for the TI J784S4 EVM -require conf/machine/include/j7.inc - -MACHINE_FEATURES += "gpu" +require conf/machine/include/j784s4.inc SERIAL_CONSOLES = "115200;ttyS2" SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" -- 2.38.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15423): https://lists.yoctoproject.org/g/meta-ti/message/15423 Mute This Topic: https://lists.yoctoproject.org/mt/95525676/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
