Skip to contentSkip to conversation

k3r5: Use the ?= default assignment to allow for overrides

PATCH New Ryan Eatmon 1 participant 1 message Dec 22, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 k3r5: Use the ?= default assignment to allow for overrides

Move to setting the values for PREFERRED_PROVIDER using the ?= default assignment so that we can override the setting if we would like to.

---
 meta-ti-bsp/conf/machine/include/k3r5.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-ti-bsp/conf/machine/include/k3r5.inc +3 -3
index 31646f5a..48202154 100644
@@ -10,9 +10,9 @@ require conf/machine/include/arm/armv7a/tune-cortexa8.inc
 # R5 runs early bootloader and loads SYSFW
 # https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/board/ti/am65x/README
 # https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/board/ti/j721e/README
-PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"
-PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
-PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-dummy"
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ti-staging"
+PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
 
 SPL_BINARY = ""
 UBOOT_SUFFIX = "bin"
Signature · 1 line
2.17.1