mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 06:32:13 +02:00
yocto-bsp: Fix QEMUARM based bsps to not offer SMP support
The SMP kernel config presents issues on qemuarm because:
CONFIG_SMP=y
Dependencies Missing:
- CPU_V6K or CPU_V7:
These are selected by setting:
CONFIG_ARCH_MULTI_V7=y
or
CONFIG_ARCH_MULTI_V6=y
But our QEMU + ARM BSPs are based on armv4/v5 hence they are
incompatible with CONFIG_SMP.
This patch fixes the script, and avoids offering SMP to the user
when the created BSP is based on QEMU + ARM.
[YOCTO #11426]
(From meta-yocto rev: d63aa4acd20b2aa022701289e9ab7be7f551b0b2)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
337bea6573
commit
f1fd97be55
@@ -45,6 +45,7 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if qemuarch != "arm": }}
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Would you like SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
@@ -45,6 +45,7 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if qemuarch != "arm": }}
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
@@ -45,6 +45,7 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if qemuarch != "arm": }}
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
@@ -45,6 +45,7 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if qemuarch != "arm": }}
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
@@ -45,6 +45,7 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if qemuarch != "arm": }}
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Would you like SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
@@ -45,6 +45,7 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if qemuarch != "arm": }}
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Would you like SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
@@ -45,6 +45,7 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if qemuarch != "arm": }}
|
||||
{{ input type:"boolean" name:"smp" prio:"30" msg:"Would you like SMP support? (y/n)" default:"y"}}
|
||||
{{ if smp == "y": }}
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
Reference in New Issue
Block a user