mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 00:32:12 +02:00
yocto-bsp: strip '/base' from kernel branches in templates
For new branches, users can specify /base branches, but we don't want the '/base' in the resultant branch name, so remove it. Fixes [YOCTO #2693]. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
This commit is contained in:
committed by
Richard Purdie
parent
96631f080b
commit
e5c5e20a5e
@@ -13,12 +13,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"yocto/standard/preempt-rt/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
|
||||
KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
|
||||
@@ -13,12 +13,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
|
||||
KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"yocto/standard" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
@@ -24,7 +24,7 @@ KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
|
||||
@@ -13,12 +13,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/default" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
|
||||
KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
|
||||
@@ -13,12 +13,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"yocto/standard/preempt-rt/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
|
||||
KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
|
||||
@@ -13,12 +13,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
|
||||
KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"yocto/standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
@@ -24,7 +24,7 @@ KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
|
||||
@@ -13,12 +13,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/default/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
|
||||
KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
|
||||
@@ -13,12 +13,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"yocto/standard/preempt-rt/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
|
||||
KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
|
||||
@@ -13,12 +13,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
|
||||
KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"yocto/standard" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
@@ -24,7 +24,7 @@ KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
|
||||
@@ -13,12 +13,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/default" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
|
||||
KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
|
||||
@@ -13,12 +13,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"yocto/standard/preempt-rt/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
|
||||
KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
|
||||
@@ -13,12 +13,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
|
||||
KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"yocto/standard" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
@@ -24,7 +24,7 @@ KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
|
||||
@@ -13,12 +13,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/default" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
|
||||
KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
|
||||
@@ -37,12 +37,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"yocto/standard/preempt-rt/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
|
||||
KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
|
||||
@@ -37,12 +37,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
|
||||
KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
|
||||
@@ -37,12 +37,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"yocto/standard/mti-malta32-be" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
|
||||
KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
|
||||
@@ -37,12 +37,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/default/mti-malta32-be" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
|
||||
KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
|
||||
@@ -13,12 +13,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"yocto/standard/preempt-rt/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
|
||||
KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
|
||||
@@ -13,12 +13,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
|
||||
KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"yocto/standard/common-pc-64/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
@@ -24,7 +24,7 @@ KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
|
||||
@@ -13,12 +13,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/default/common-pc-64/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
KBRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
KBRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=new_kbranch}}/{{=machine}}"
|
||||
YOCTO_KERNEL_EXTERNAL_BRANCH_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
|
||||
|
||||
KMACHINE_{{=machine}} = "{{=machine}}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user