[meta-intel] [PATCH] intel-core*: Set kernel provider with conditional assignment

Darren Hart dvhart at linux.intel.com
Mon Mar 17 15:38:01 PDT 2014


The PREFERREF_PROVIDER_virtual/kernel was assigned with = instead of ?=,
preventing the user from overriding the setting with something like
linux-yocto-rt. Use ?=.

Signed-off-by: Darren Hart <dvhart at linux.intel.com>
Reported-by: Teemu Keskinarkaus <Teemu.Keskinarkaus at Maximatecc.com>
Cc: Tom Zanussi <tom.zanussi at intel.com>
---
 conf/machine/intel-core2-32.conf  |    2 +-
 conf/machine/intel-corei7-64.conf |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf/machine/intel-core2-32.conf b/conf/machine/intel-core2-32.conf
index c1023e7..92c2ec6 100644
--- a/conf/machine/intel-core2-32.conf
+++ b/conf/machine/intel-core2-32.conf
@@ -3,7 +3,7 @@
 
 #@DESCRIPTION: Machine configuration for 32 bit Intel Core 2 CPU (and later) with MMX, SSE, SSE2, SSE3, and SSSE3 instruction set support. Supports a moderately wide range of drivers that should boot and be usable on "typical" hardware.
 
-PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-dev"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-dev"
 
 require conf/machine/include/meta-intel.inc
 require conf/machine/include/intel-core2-32-common.inc
diff --git a/conf/machine/intel-corei7-64.conf b/conf/machine/intel-corei7-64.conf
index 54bc1d1..6f9e1f6 100644
--- a/conf/machine/intel-corei7-64.conf
+++ b/conf/machine/intel-corei7-64.conf
@@ -3,7 +3,7 @@
 
 #@DESCRIPTION: Machine configuration for 64 bit Intel Core i7 CPU (and later) with MMX, SSE, SSE2, SSE3, and SSSE3 instruction set support. Supports a moderately wide range of drivers that should boot and be usable on "typical" hardware.
 
-PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-dev"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-dev"
 
 require conf/machine/include/meta-intel.inc
 require conf/machine/include/intel-corei7-64-common.inc
-- 
1.7.9.5



More information about the meta-intel mailing list