[meta-lsi] [PATCH 22/24] linux-yocto_3.10: Ensure NO-SMP fragment is used

Daniel Dragomir daniel.dragomir at windriver.com
Thu Jan 28 04:43:20 PST 2016


When SMP variable is set to 'no', smp fragment is not added, but
for 3.10, ARM arch need to add no-smp fragment.
For 3.10 powerpc or 3.14 (both arch) no-smp fragment is not needed.

Signed-off-by: Daniel Dragomir <daniel.dragomir at windriver.com>
---
 recipes-kernel/linux/frags-arm.inc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/frags-arm.inc b/recipes-kernel/linux/frags-arm.inc
index c66f016..b662176 100644
--- a/recipes-kernel/linux/frags-arm.inc
+++ b/recipes-kernel/linux/frags-arm.inc
@@ -1,6 +1,9 @@
+# Only 3.10 have no-smp fragment
+NO_SMP = "${@base_conditional('KV', '3.10', 'file://no-smp.scc', '', d)}"
+
 # adding fragments with kernel options to the final .config
 SRC_URI += "file://common.scc \
-	${@base_conditional('SMP', 'yes', 'file://smp.scc', '', d)} \
+	${@base_conditional('SMP', 'yes', 'file://smp.scc', '${NO_SMP}', d)} \
 	${@base_conditional('LINUX_KERNEL_TYPE', 'preempt-rt', 'file://preempt-rt.scc', 'file://standard.scc', d)} \
 	${@base_conditional('BIG_ENDIAN', 'yes', 'file://big-endian.scc', '', d)} \
 	${@base_conditional('DBG', 'yes', 'file://dbg.scc', '', d)} \
-- 
1.9.1



More information about the meta-lsi mailing list