diff options
| author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2013-03-04 09:43:30 -0600 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-17 23:10:27 +0000 |
| commit | 8e47a95f7e22ca1f5b10cfde121be1f407be3075 (patch) | |
| tree | fd83ecc1165974fd65652bf9f1b4cd992a477331 /scripts/lib | |
| parent | 3eb5590b0d610e04ba0484c2c3a82882d576a05b (diff) | |
| download | poky-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')
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 1ae5ceee18..088bcc2d4c 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": }} | ||
| 16 | KBRANCH_DEFAULT_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}" | ||
| 17 | KBRANCH_{{=machine}} = "${KBRANCH_DEFAULT}" | ||
| 18 | {{ if need_new_kbranch == "n": }} | ||
| 19 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
| 20 | |||
| 21 | KMACHINE_{{=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": }} |
| 25 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | 17 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" |
| 26 | 18 | ||
| 27 | SRC_URI += "file://{{=machine}}-preempt-rt.scc \ | 19 | SRC_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 1ae5ceee18..088bcc2d4c 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": }} | ||
| 16 | KBRANCH_DEFAULT_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}" | ||
| 17 | KBRANCH_{{=machine}} = "${KBRANCH_DEFAULT}" | ||
| 18 | {{ if need_new_kbranch == "n": }} | ||
| 19 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
| 20 | |||
| 21 | KMACHINE_{{=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": }} |
| 25 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | 17 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" |
| 26 | 18 | ||
| 27 | SRC_URI += "file://{{=machine}}-preempt-rt.scc \ | 19 | SRC_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 1ae5ceee18..088bcc2d4c 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": }} | ||
| 16 | KBRANCH_DEFAULT_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}" | ||
| 17 | KBRANCH_{{=machine}} = "${KBRANCH_DEFAULT}" | ||
| 18 | {{ if need_new_kbranch == "n": }} | ||
| 19 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
| 20 | |||
| 21 | KMACHINE_{{=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": }} |
| 25 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | 17 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" |
| 26 | 18 | ||
| 27 | SRC_URI += "file://{{=machine}}-preempt-rt.scc \ | 19 | SRC_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 1ae5ceee18..088bcc2d4c 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": }} | ||
| 16 | KBRANCH_DEFAULT_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}" | ||
| 17 | KBRANCH_{{=machine}} = "${KBRANCH_DEFAULT}" | ||
| 18 | {{ if need_new_kbranch == "n": }} | ||
| 19 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
| 20 | |||
| 21 | KMACHINE_{{=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": }} |
| 25 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | 17 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" |
| 26 | 18 | ||
| 27 | SRC_URI += "file://{{=machine}}-preempt-rt.scc \ | 19 | SRC_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 89c32c4428..ada64bcc21 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:" | |||
| 3 | PR := "${PR}.1" | 3 | PR := "${PR}.1" |
| 4 | 4 | ||
| 5 | COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}" | 5 | COMPATIBLE_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": }} | ||
| 40 | KBRANCH_DEFAULT_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}" | ||
| 41 | KBRANCH_{{=machine}} = "${KBRANCH_DEFAULT}" | ||
| 42 | {{ if need_new_kbranch == "n": }} | ||
| 43 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
| 44 | |||
| 45 | KMACHINE_{{=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": }} |
| 49 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | 40 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" |
| 50 | 41 | ||
| 51 | SRC_URI += "file://{{=machine}}-preempt-rt.scc \ | 42 | SRC_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 1ae5ceee18..088bcc2d4c 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": }} | ||
| 16 | KBRANCH_DEFAULT_{{=machine}} = "{{=strip_base(new_kbranch)}}/{{=machine}}" | ||
| 17 | KBRANCH_{{=machine}} = "${KBRANCH_DEFAULT}" | ||
| 18 | {{ if need_new_kbranch == "n": }} | ||
| 19 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
| 20 | |||
| 21 | KMACHINE_{{=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": }} |
| 25 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | 17 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" |
| 26 | 18 | ||
| 27 | SRC_URI += "file://{{=machine}}-preempt-rt.scc \ | 19 | SRC_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" | ||
