Skip to contentSkip to conversation

ti-bsp: Add RT and systest support

PATCH Superseded Ryan Eatmon 1 participant 1 message Oct 9, 2024

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ti-bsp: Add RT and systest support

We were missing controlling the versions for linux-ti-staging-rt and linux-ti-staging-systest using the BSP framework. Since the PREFERRED_VERSION is not tied to the virtual/kernel we need two additional settings for those alternate kernel package names.

For BSPs that do not have the -rt and -systest recipes then the two new variable settings should effectively be ignored and case no issues.

---
v2: Remove the extra variables and just set PREFERRED_VERSION.

 meta-ti-bsp/conf/machine/include/ti-bsp.inc | 2 ++
 1 file changed, 2 insertions(+)
meta-ti-bsp/conf/machine/include/ti-bsp.inc +2 -0
index 4cb2aab4..0c8f657d 100644
@@ -122,6 +122,8 @@ BSP_MESA_PVR_VERSION ?= ""
 # ==========
 PREFERRED_PROVIDER_virtual/kernel ?= "${BSP_KERNEL_PROVIDER}"
 PREFERRED_VERSION_${BSP_KERNEL_PROVIDER} ?= "${BSP_KERNEL_VERSION}"
+PREFERRED_VERSION_${BSP_KERNEL_PROVIDER}-rt ?= "${BSP_KERNEL_VERSION}"
+PREFERRED_VERSION_${BSP_KERNEL_PROVIDER}-systest ?= "${BSP_KERNEL_VERSION}"
 PREFERRED_PROVIDER_virtual/bootloader ?= "${BSP_BOOTLOADER_PROVIDER}"
 PREFERRED_PROVIDER_u-boot ?= "${BSP_BOOTLOADER_PROVIDER}"
 PREFERRED_VERSION_${BSP_BOOTLOADER_PROVIDER} ?= "${BSP_BOOTLOADER_VERSION}"
Signature · 1 line
2.17.1