diff options
author | Darren Hart <dvhart@linux.intel.com> | 2012-05-01 09:57:15 -0700 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2012-05-07 12:39:19 -0700 |
commit | 0a73be8fb1ea8761784ba5f2fac787c9015e10b1 (patch) | |
tree | dae052cb2fe0b73e3f64e54dae74d52e48f813d7 /conf/machine | |
parent | 99c85accb84b131a1308705a4f14f10463c2ae90 (diff) | |
download | meta-intel-0a73be8fb1ea8761784ba5f2fac787c9015e10b1.tar.gz |
ia32-base.inc: Use a weak default assignment for kernel provider and version
Using the default assignment operator (?=) requires the including recipes
to ensure to assign the Linux kernel provider and version prior to including
ia32-base.inc. By use the weak default assignment operator (??=), the assignment
can come after the inclusion, which avoids confusion and can lead to a more
natural recipe structure.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Tom Zanussi <tom.zanussi@intel.com>
Diffstat (limited to 'conf/machine')
-rw-r--r-- | conf/machine/include/ia32-base.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/machine/include/ia32-base.inc b/conf/machine/include/ia32-base.inc index 874e2582..be1c8e03 100644 --- a/conf/machine/include/ia32-base.inc +++ b/conf/machine/include/ia32-base.inc | |||
@@ -26,8 +26,8 @@ GLIBC_EXTRA_OECONF += "--with-tls" | |||
26 | # | 26 | # |
27 | # kernel-related variables | 27 | # kernel-related variables |
28 | # | 28 | # |
29 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" | 29 | PREFERRED_PROVIDER_virtual/kernel ??= "linux-yocto" |
30 | PREFERRED_VERSION_linux-yocto ?= "3.0%" | 30 | PREFERRED_VERSION_linux-yocto ??= "3.0%" |
31 | 31 | ||
32 | # | 32 | # |
33 | # XSERVER subcomponents, used to build the XSERVER variable | 33 | # XSERVER subcomponents, used to build the XSERVER variable |