[OE-core] [PATCH] linux-yocto: Use ??= to set LINUX_VERSION_EXTENSION

swee.aun.khor at intel.com swee.aun.khor at intel.com
Tue May 16 18:59:12 UTC 2017


From: sweeaun <swee.aun.khor at intel.com>

Use ??= to set LINUX_VERSION_EXTENSION default value.

Signed-off-by: sweeaun <swee.aun.khor at intel.com>
---
 meta/recipes-kernel/linux/linux-yocto.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto.inc b/meta/recipes-kernel/linux/linux-yocto.inc
index 637506a..1119f22 100644
--- a/meta/recipes-kernel/linux/linux-yocto.inc
+++ b/meta/recipes-kernel/linux/linux-yocto.inc
@@ -48,7 +48,7 @@ KCONF_AUDIT_LEVEL ?= "1"
 KCONF_BSP_AUDIT_LEVEL ?= "0"
 KMETA_AUDIT ?= "yes"
 
-LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}"
+LINUX_VERSION_EXTENSION ??= "-yocto-${LINUX_KERNEL_TYPE}"
 
 # Pick up shared functions
 inherit kernel
-- 
2.7.4




More information about the Openembedded-core mailing list