From 0a73be8fb1ea8761784ba5f2fac787c9015e10b1 Mon Sep 17 00:00:00 2001 From: Darren Hart Date: Tue, 1 May 2012 09:57:15 -0700 Subject: 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 Acked-by: Tom Zanussi --- conf/machine/include/ia32-base.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'conf') 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" # # kernel-related variables # -PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" -PREFERRED_VERSION_linux-yocto ?= "3.0%" +PREFERRED_PROVIDER_virtual/kernel ??= "linux-yocto" +PREFERRED_VERSION_linux-yocto ??= "3.0%" # # XSERVER subcomponents, used to build the XSERVER variable -- cgit v1.2.3-54-g00ecf