summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2013-03-04 15:43:30 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-17 23:10:27 (GMT)
commit8e47a95f7e22ca1f5b10cfde121be1f407be3075 (patch)
treefd83ecc1165974fd65652bf9f1b4cd992a477331 /scripts/lib
parent3eb5590b0d610e04ba0484c2c3a82882d576a05b (diff)
downloadpoky-8e47a95f7e22ca1f5b10cfde121be1f407be3075.tar.gz
yocto-bsp: update linux-yocto-rt_3.4 .bbappends
Simplify by removing unnecessary KMACHINE/KBRANCH and SRC_URI items. Also simplify machine-preempt-rt.scc (From meta-yocto rev: b9973f7761b86e3d4571fe5582759e5405e1d7b4) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-rw-r--r--scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend15
-rw-r--r--scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend15
-rw-r--r--scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend15
-rw-r--r--scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend15
-rw-r--r--scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend16
-rw-r--r--scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend15
6 files changed, 18 insertions, 73 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend
index 1ae5cee..088bcc2 100644
--- a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend
+++ b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend
@@ -12,26 +12,17 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
12{{ if need_new_kbranch == "n": }} 12{{ if need_new_kbranch == "n": }}
13{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }} 13{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }}
14 14
15{{ if need_new_kbranch == "y": }}
16KBRANCH_DEFAULT_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
17KBRANCH_{{=machine}} = "${KBRANCH_DEFAULT}"
18{{ if need_new_kbranch == "n": }}
19KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
20
21KMACHINE_{{=machine}} = "{{=machine}}"
22
23{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} 15{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
24{{ if smp == "y": }} 16{{ if smp == "y": }}
25KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" 17KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
26 18
27SRC_URI += "file://{{=machine}}-preempt-rt.scc \ 19SRC_URI += "file://{{=machine}}-preempt-rt.scc \
28 file://{{=machine}}.scc \
29 file://{{=machine}}.cfg \
30 file://{{=machine}}-user-config.cfg \ 20 file://{{=machine}}-user-config.cfg \
31 file://{{=machine}}-user-patches.scc \ 21 file://{{=machine}}-user-patches.scc \
32 " 22 "
33 23
34# uncomment and replace these SRCREVs with the real commit ids once you've had 24# uncomment and replace these SRCREVs with the real commit ids once you've had
35# the appropriate changes committed to the upstream linux-yocto repo 25# the appropriate changes committed to the upstream linux-yocto repo
36#SRCREV_machine_pn-linux-yocto-rt_{{=machine}} ?= "2d008a6dcbf565878cee14c5f050eca53897316f" 26#SRCREV_machine_pn-linux-yocto-rt_{{=machine}} ?= "c3fa9782d3c6caabbca85d56fc4ace0ba97b9d9e"
37#SRCREV_meta_pn-linux-yocto-rt_{{=machine}} ?= "459165c1dd61c4e843c36e6a1abeb30949a20ba7a" 27#SRCREV_meta_pn-linux-yocto-rt_{{=machine}} ?= "4fd76cc4f33e0afd8f906b1e8f231b6d13b6c993"
28#LINUX_VERSION = "3.4.34"
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend
index 1ae5cee..088bcc2 100644
--- a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend
+++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend
@@ -12,26 +12,17 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
12{{ if need_new_kbranch == "n": }} 12{{ if need_new_kbranch == "n": }}
13{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }} 13{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }}
14 14
15{{ if need_new_kbranch == "y": }}
16KBRANCH_DEFAULT_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
17KBRANCH_{{=machine}} = "${KBRANCH_DEFAULT}"
18{{ if need_new_kbranch == "n": }}
19KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
20
21KMACHINE_{{=machine}} = "{{=machine}}"
22
23{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} 15{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
24{{ if smp == "y": }} 16{{ if smp == "y": }}
25KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" 17KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
26 18
27SRC_URI += "file://{{=machine}}-preempt-rt.scc \ 19SRC_URI += "file://{{=machine}}-preempt-rt.scc \
28 file://{{=machine}}.scc \
29 file://{{=machine}}.cfg \
30 file://{{=machine}}-user-config.cfg \ 20 file://{{=machine}}-user-config.cfg \
31 file://{{=machine}}-user-patches.scc \ 21 file://{{=machine}}-user-patches.scc \
32 " 22 "
33 23
34# uncomment and replace these SRCREVs with the real commit ids once you've had 24# uncomment and replace these SRCREVs with the real commit ids once you've had
35# the appropriate changes committed to the upstream linux-yocto repo 25# the appropriate changes committed to the upstream linux-yocto repo
36#SRCREV_machine_pn-linux-yocto-rt_{{=machine}} ?= "2d008a6dcbf565878cee14c5f050eca53897316f" 26#SRCREV_machine_pn-linux-yocto-rt_{{=machine}} ?= "c3fa9782d3c6caabbca85d56fc4ace0ba97b9d9e"
37#SRCREV_meta_pn-linux-yocto-rt_{{=machine}} ?= "459165c1dd61c4e843c36e6a1abeb30949a20ba7a" 27#SRCREV_meta_pn-linux-yocto-rt_{{=machine}} ?= "4fd76cc4f33e0afd8f906b1e8f231b6d13b6c993"
28#LINUX_VERSION = "3.4.34"
diff --git a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend
index 1ae5cee..088bcc2 100644
--- a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend
+++ b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend
@@ -12,26 +12,17 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
12{{ if need_new_kbranch == "n": }} 12{{ if need_new_kbranch == "n": }}
13{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }} 13{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }}
14 14
15{{ if need_new_kbranch == "y": }}
16KBRANCH_DEFAULT_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
17KBRANCH_{{=machine}} = "${KBRANCH_DEFAULT}"
18{{ if need_new_kbranch == "n": }}
19KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
20
21KMACHINE_{{=machine}} = "{{=machine}}"
22
23{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} 15{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
24{{ if smp == "y": }} 16{{ if smp == "y": }}
25KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" 17KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
26 18
27SRC_URI += "file://{{=machine}}-preempt-rt.scc \ 19SRC_URI += "file://{{=machine}}-preempt-rt.scc \
28 file://{{=machine}}.scc \
29 file://{{=machine}}.cfg \
30 file://{{=machine}}-user-config.cfg \ 20 file://{{=machine}}-user-config.cfg \
31 file://{{=machine}}-user-patches.scc \ 21 file://{{=machine}}-user-patches.scc \
32 " 22 "
33 23
34# uncomment and replace these SRCREVs with the real commit ids once you've had 24# uncomment and replace these SRCREVs with the real commit ids once you've had
35# the appropriate changes committed to the upstream linux-yocto repo 25# the appropriate changes committed to the upstream linux-yocto repo
36#SRCREV_machine_pn-linux-yocto-rt_{{=machine}} ?= "2d008a6dcbf565878cee14c5f050eca53897316f" 26#SRCREV_machine_pn-linux-yocto-rt_{{=machine}} ?= "c3fa9782d3c6caabbca85d56fc4ace0ba97b9d9e"
37#SRCREV_meta_pn-linux-yocto-rt_{{=machine}} ?= "459165c1dd61c4e843c36e6a1abeb30949a20ba7a" 27#SRCREV_meta_pn-linux-yocto-rt_{{=machine}} ?= "4fd76cc4f33e0afd8f906b1e8f231b6d13b6c993"
28#LINUX_VERSION = "3.4.34"
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend
index 1ae5cee..088bcc2 100644
--- a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend
+++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend
@@ -12,26 +12,17 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
12{{ if need_new_kbranch == "n": }} 12{{ if need_new_kbranch == "n": }}
13{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }} 13{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }}
14 14
15{{ if need_new_kbranch == "y": }}
16KBRANCH_DEFAULT_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
17KBRANCH_{{=machine}} = "${KBRANCH_DEFAULT}"
18{{ if need_new_kbranch == "n": }}
19KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
20
21KMACHINE_{{=machine}} = "{{=machine}}"
22
23{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} 15{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
24{{ if smp == "y": }} 16{{ if smp == "y": }}
25KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" 17KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
26 18
27SRC_URI += "file://{{=machine}}-preempt-rt.scc \ 19SRC_URI += "file://{{=machine}}-preempt-rt.scc \
28 file://{{=machine}}.scc \
29 file://{{=machine}}.cfg \
30 file://{{=machine}}-user-config.cfg \ 20 file://{{=machine}}-user-config.cfg \
31 file://{{=machine}}-user-patches.scc \ 21 file://{{=machine}}-user-patches.scc \
32 " 22 "
33 23
34# uncomment and replace these SRCREVs with the real commit ids once you've had 24# uncomment and replace these SRCREVs with the real commit ids once you've had
35# the appropriate changes committed to the upstream linux-yocto repo 25# the appropriate changes committed to the upstream linux-yocto repo
36#SRCREV_machine_pn-linux-yocto-rt_{{=machine}} ?= "2d008a6dcbf565878cee14c5f050eca53897316f" 26#SRCREV_machine_pn-linux-yocto-rt_{{=machine}} ?= "c3fa9782d3c6caabbca85d56fc4ace0ba97b9d9e"
37#SRCREV_meta_pn-linux-yocto-rt_{{=machine}} ?= "459165c1dd61c4e843c36e6a1abeb30949a20ba7a" 27#SRCREV_meta_pn-linux-yocto-rt_{{=machine}} ?= "4fd76cc4f33e0afd8f906b1e8f231b6d13b6c993"
28#LINUX_VERSION = "3.4.34"
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend
index 89c32c4..ada64bc 100644
--- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend
+++ b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend
@@ -3,7 +3,6 @@ FILESEXTRAPATHS_prepend_{{=machine}} := "${THISDIR}/files:"
3PR := "${PR}.1" 3PR := "${PR}.1"
4 4
5COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}" 5COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
6
7{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }} 6{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
8 7
9{{ if need_new_kbranch == "y" and qemuarch == "arm": }} 8{{ if need_new_kbranch == "y" and qemuarch == "arm": }}
@@ -36,26 +35,17 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
36{{ if need_new_kbranch == "n" and qemuarch == "mips": }} 35{{ if need_new_kbranch == "n" and qemuarch == "mips": }}
37{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }} 36{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }}
38 37
39{{ if need_new_kbranch == "y": }}
40KBRANCH_DEFAULT_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
41KBRANCH_{{=machine}} = "${KBRANCH_DEFAULT}"
42{{ if need_new_kbranch == "n": }}
43KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
44
45KMACHINE_{{=machine}} = "{{=machine}}"
46
47{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} 38{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
48{{ if smp == "y": }} 39{{ if smp == "y": }}
49KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" 40KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
50 41
51SRC_URI += "file://{{=machine}}-preempt-rt.scc \ 42SRC_URI += "file://{{=machine}}-preempt-rt.scc \
52 file://{{=machine}}.scc \
53 file://{{=machine}}.cfg \
54 file://{{=machine}}-user-config.cfg \ 43 file://{{=machine}}-user-config.cfg \
55 file://{{=machine}}-user-patches.scc \ 44 file://{{=machine}}-user-patches.scc \
56 " 45 "
57 46
58# uncomment and replace these SRCREVs with the real commit ids once you've had 47# uncomment and replace these SRCREVs with the real commit ids once you've had
59# the appropriate changes committed to the upstream linux-yocto repo 48# the appropriate changes committed to the upstream linux-yocto repo
60#SRCREV_machine_pn-linux-yocto-rt_{{=machine}} ?= "2d008a6dcbf565878cee14c5f050eca53897316f" 49#SRCREV_machine_pn-linux-yocto-rt_{{=machine}} ?= "c3fa9782d3c6caabbca85d56fc4ace0ba97b9d9e"
61#SRCREV_meta_pn-linux-yocto-rt_{{=machine}} ?= "459165c1dd61c4e843c36e6a1abeb30949a20ba7a" 50#SRCREV_meta_pn-linux-yocto-rt_{{=machine}} ?= "4fd76cc4f33e0afd8f906b1e8f231b6d13b6c993"
51#LINUX_VERSION = "3.4.34"
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend
index 1ae5cee..088bcc2 100644
--- a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend
+++ b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.4": }} linux-yocto-rt_3.4.bbappend
@@ -12,26 +12,17 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
12{{ if need_new_kbranch == "n": }} 12{{ if need_new_kbranch == "n": }}
13{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }} 13{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }}
14 14
15{{ if need_new_kbranch == "y": }}
16KBRANCH_DEFAULT_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}"
17KBRANCH_{{=machine}} = "${KBRANCH_DEFAULT}"
18{{ if need_new_kbranch == "n": }}
19KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
20
21KMACHINE_{{=machine}} = "{{=machine}}"
22
23{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} 15{{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}}
24{{ if smp == "y": }} 16{{ if smp == "y": }}
25KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" 17KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc"
26 18
27SRC_URI += "file://{{=machine}}-preempt-rt.scc \ 19SRC_URI += "file://{{=machine}}-preempt-rt.scc \
28 file://{{=machine}}.scc \
29 file://{{=machine}}.cfg \
30 file://{{=machine}}-user-config.cfg \ 20 file://{{=machine}}-user-config.cfg \
31 file://{{=machine}}-user-patches.scc \ 21 file://{{=machine}}-user-patches.scc \
32 " 22 "
33 23
34# uncomment and replace these SRCREVs with the real commit ids once you've had 24# uncomment and replace these SRCREVs with the real commit ids once you've had
35# the appropriate changes committed to the upstream linux-yocto repo 25# the appropriate changes committed to the upstream linux-yocto repo
36#SRCREV_machine_pn-linux-yocto-rt_{{=machine}} ?= "2d008a6dcbf565878cee14c5f050eca53897316f" 26#SRCREV_machine_pn-linux-yocto-rt_{{=machine}} ?= "c3fa9782d3c6caabbca85d56fc4ace0ba97b9d9e"
37#SRCREV_meta_pn-linux-yocto-rt_{{=machine}} ?= "459165c1dd61c4e843c36e6a1abeb30949a20ba7a" 27#SRCREV_meta_pn-linux-yocto-rt_{{=machine}} ?= "4fd76cc4f33e0afd8f906b1e8f231b6d13b6c993"
28#LINUX_VERSION = "3.4.34"