Skip to contentSkip to conversation

machine/*: Allow kernel provider override

PATCH In review Gary Thomas 2 participants 2 messages Oct 30, 2013 – Oct 31, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 machine/*: Allow kernel provider override

All machine configurations now allow user override of the preferred kernel provider.

---
 conf/machine/m28evk.conf          |    2 +-
 conf/machine/m53evk.conf          |    2 +-
 conf/machine/nitrogen6x-lite.conf |    2 +-
 conf/machine/wandboard-dual.conf  |    2 +-
 conf/machine/wandboard-quad.conf  |    2 +-
 conf/machine/wandboard-solo.conf  |    2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
conf/machine/m28evk.conf +1 -1
index ec8af0e..abe7c03 100644
@@ -9,7 +9,7 @@ SOC_FAMILY = "mxs:mx28"
 
 UBOOT_MACHINE = "m28evk_config"
 
-PREFERRED_PROVIDER_virtual/kernel = "linux-fslc"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc"
 KERNEL_IMAGETYPE = "uImage"
 KERNEL_DEVICETREE = "imx28-m28evk.dtb"
 
conf/machine/m53evk.conf +1 -1
index 33f9cef..e2fbc56 100644
@@ -10,7 +10,7 @@ SOC_FAMILY = "mx5:mx53"
 
 UBOOT_MACHINE = "m53evk_config"
 
-PREFERRED_PROVIDER_virtual/kernel = "linux-denx"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-denx"
 
 KERNEL_IMAGETYPE = "uImage"
 KERNEL_DEVICETREE = "imx53-m53evk.dtb"
conf/machine/nitrogen6x-lite.conf +1 -1
index ff58715..39578c1 100644
@@ -9,7 +9,7 @@ include conf/machine/include/tune-cortexa9.inc
 SOC_FAMILY = "mx6:mx6s"
 
 PREFERRED_PROVIDER_u-boot = "u-boot-boundary"
-PREFERRED_PROVIDER_virtual/kernel = "linux-boundary"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-boundary"
 
 # Use SPI NOR U-Boot by default
 IMAGE_BOOTLOADER ?= ""
conf/machine/wandboard-dual.conf +1 -1
index eaee17b..3526790 100644
@@ -8,7 +8,7 @@ include conf/machine/include/tune-cortexa9.inc
 
 SOC_FAMILY = "mx6:mx6dl:wandboard"
 
-PREFERRED_PROVIDER_virtual/kernel = "linux-wandboard"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard"
 
 UBOOT_MACHINE = "wandboard_dl_config"
 
conf/machine/wandboard-quad.conf +1 -1
index 4f32590..578dd0d 100644
@@ -8,7 +8,7 @@ include conf/machine/include/tune-cortexa9.inc
 
 SOC_FAMILY = "mx6:mx6q:wandboard"
 
-PREFERRED_PROVIDER_virtual/kernel = "linux-wandboard"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard"
 
 UBOOT_MACHINE = "wandboard_quad_config"
 
conf/machine/wandboard-solo.conf +1 -1
index 970e650..aad7876 100644
@@ -8,7 +8,7 @@ include conf/machine/include/tune-cortexa9.inc
 
 SOC_FAMILY = "mx6:mx6s:wandboard"
 
-PREFERRED_PROVIDER_virtual/kernel = "linux-wandboard"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard"
 
 UBOOT_MACHINE = "wandboard_solo_config"
 
Signature · 1 line
1.7.7.6
#1 lore raw
Quoted 4 lines · Gary Thomas

All machine configurations now allow user override of the preferred kernel provider.

You missed the cfa machines (the .inc file which sets it).

But please rebase it as I am updating and including the imx233-olinuxino-nano and this ought to be included in the change as well.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750