diff options
Diffstat (limited to 'scripts/lib/bsp/substrate/target/arch/mips')
19 files changed, 0 insertions, 338 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/mips/.gitignore b/scripts/lib/bsp/substrate/target/arch/mips/.gitignore deleted file mode 100644 index e69de29bb2..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips/.gitignore +++ /dev/null | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips/conf/machine/machine.conf b/scripts/lib/bsp/substrate/target/arch/mips/conf/machine/machine.conf deleted file mode 100644 index 37da2535c8..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips/conf/machine/machine.conf +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.conf | ||
2 | #@TYPE: Machine | ||
3 | #@NAME: {{=machine}} | ||
4 | |||
5 | #@DESCRIPTION: Machine configuration for {{=machine}} systems | ||
6 | |||
7 | require conf/machine/include/tune-mips32.inc | ||
8 | |||
9 | MACHINE_FEATURES = "screen keyboard pci usbhost ext2 ext3 serial" | ||
10 | |||
11 | KERNEL_IMAGETYPE = "vmlinux" | ||
12 | KERNEL_ALT_IMAGETYPE = "vmlinux.bin" | ||
13 | KERNEL_IMAGE_STRIP_EXTRA_SECTIONS = ".comment" | ||
14 | |||
15 | {{ if kernel_choice == "custom": preferred_kernel = "linux-yocto-custom" }} | ||
16 | {{ if kernel_choice == "linux-yocto-dev": preferred_kernel = "linux-yocto-dev" }} | ||
17 | {{ if kernel_choice == "custom" or kernel_choice == "linux-yocto-dev" : }} | ||
18 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
19 | |||
20 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel = kernel_choice.split('_')[0] }} | ||
21 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel_version = kernel_choice.split('_')[1] }} | ||
22 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": }} | ||
23 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
24 | PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" | ||
25 | |||
26 | {{ input type:"boolean" name:"xserver" prio:"50" msg:"Do you need support for X? (y/n)" default:"y" }} | ||
27 | {{ if xserver == "y": }} | ||
28 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" | ||
29 | XSERVER ?= "xserver-xorg \ | ||
30 | xf86-video-fbdev" | ||
31 | |||
32 | SERIAL_CONSOLE = "115200 ttyS0" | ||
33 | USE_VT ?= "0" | ||
34 | |||
35 | MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" | ||
36 | |||
37 | IMAGE_FSTYPES ?= "jffs2 tar.bz2" | ||
38 | JFFS2_ERASEBLOCK = "0x10000" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files.noinstall b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files.noinstall deleted file mode 100644 index 1e0d92c55c..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files.noinstall +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-dirname {{ if kernel_choice != "custom": }} files | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-preempt-rt.scc b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-preempt-rt.scc deleted file mode 100644 index a128255b38..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-preempt-rt.scc +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-preempt-rt.scc | ||
2 | define KMACHINE {{=machine}} | ||
3 | |||
4 | define KARCH mips | ||
5 | |||
6 | include {{=map_preempt_rt_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | ||
7 | {{ if need_new_kbranch == "y": }} | ||
8 | define KTYPE {{=new_kbranch}} | ||
9 | branch {{=machine}} | ||
10 | |||
11 | include {{=machine}}.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-standard.scc b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-standard.scc deleted file mode 100644 index b34f3d3522..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-standard.scc +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-standard.scc | ||
2 | define KMACHINE {{=machine}} | ||
3 | |||
4 | define KARCH mips | ||
5 | |||
6 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} nopatch | ||
7 | {{ if need_new_kbranch == "y": }} | ||
8 | define KTYPE {{=new_kbranch}} | ||
9 | branch {{=machine}} | ||
10 | |||
11 | include {{=machine}}.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-tiny.scc b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-tiny.scc deleted file mode 100644 index 64f395bbc4..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-tiny.scc +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-tiny.scc | ||
2 | define KMACHINE {{=machine}} | ||
3 | |||
4 | define KARCH mips | ||
5 | |||
6 | include {{=map_tiny_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | ||
7 | {{ if need_new_kbranch == "y": }} | ||
8 | define KTYPE {{=new_kbranch}} | ||
9 | branch {{=machine}} | ||
10 | |||
11 | include {{=machine}}.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-user-config.cfg b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-user-config.cfg deleted file mode 100644 index 47489e44e9..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-user-config.cfg +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-user-config.cfg | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-user-features.scc b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-user-features.scc deleted file mode 100644 index 85be26de97..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-user-features.scc +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-user-features.scc \ No newline at end of file | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-user-patches.scc b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-user-patches.scc deleted file mode 100644 index 97f747fa07..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-user-patches.scc +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-user-patches.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine.cfg b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine.cfg deleted file mode 100644 index 2fe476691c..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine.cfg +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.cfg | ||
2 | CONFIG_MIPS=y | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine.scc b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine.scc deleted file mode 100644 index 792fdc94a4..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine.scc +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.scc | ||
2 | kconf hardware {{=machine}}.cfg | ||
3 | |||
4 | include cfg/usb-mass-storage.scc | ||
5 | include cfg/fs/vfat.scc | ||
6 | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/kernel-list.noinstall b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/kernel-list.noinstall deleted file mode 100644 index 917f0e2207..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/kernel-list.noinstall +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | {{ if kernel_choice != "custom": }} | ||
2 | {{ input type:"boolean" name:"use_default_kernel" prio:"10" msg:"Would you like to use the default (4.12) kernel? (y/n)" default:"y"}} | ||
3 | |||
4 | {{ if kernel_choice != "custom" and use_default_kernel == "n": }} | ||
5 | {{ input type:"choicelist" name:"kernel_choice" gen:"bsp.kernel.kernels" prio:"10" msg:"Please choose the kernel to use in this BSP:" default:"linux-yocto_4.12"}} | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-dev.bbappend b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-dev.bbappend deleted file mode 100644 index 22ed273811..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-dev.bbappend +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | # yocto-bsp-filename {{ if kernel_choice == "linux-yocto-dev": }} this | ||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
3 | |||
4 | PR := "${PR}.1" | ||
5 | |||
6 | COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}" | ||
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" }} | ||
8 | |||
9 | {{ if need_new_kbranch == "y": }} | ||
10 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"i386" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
11 | |||
12 | {{ if need_new_kbranch == "n": }} | ||
13 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"i386" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
14 | |||
15 | {{ if need_new_kbranch == "n": }} | ||
16 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
17 | |||
18 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Would you like SMP support? (y/n)" default:"y"}} | ||
19 | {{ if smp == "y": }} | ||
20 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
21 | |||
22 | SRC_URI += "file://{{=machine}}.scc \ | ||
23 | file://{{=machine}}.cfg \ | ||
24 | file://{{=machine}}-standard.scc \ | ||
25 | file://{{=machine}}-user-config.cfg \ | ||
26 | file://{{=machine}}-user-features.scc \ | ||
27 | file://{{=machine}}-user-patches.scc \ | ||
28 | " | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend deleted file mode 100644 index bae943ea1e..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | # yocto-bsp-filename {{ if kernel_choice == "linux-yocto-tiny_4.10": }} this | ||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
3 | |||
4 | PR := "${PR}.1" | ||
5 | |||
6 | COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}" | ||
7 | |||
8 | {{ 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" }} | ||
9 | |||
10 | {{ if need_new_kbranch == "y": }} | ||
11 | {{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }} | ||
12 | |||
13 | {{ if need_new_kbranch == "n": }} | ||
14 | {{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }} | ||
15 | |||
16 | {{ if need_new_kbranch == "n": }} | ||
17 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
18 | |||
19 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
20 | {{ if smp == "y": }} | ||
21 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
22 | |||
23 | SRC_URI += "file://{{=machine}}.scc \ | ||
24 | file://{{=machine}}.cfg \ | ||
25 | file://{{=machine}}-tiny.scc \ | ||
26 | file://{{=machine}}-user-config.cfg \ | ||
27 | file://{{=machine}}-user-patches.scc \ | ||
28 | file://{{=machine}}-user-features.scc \ | ||
29 | " | ||
30 | |||
31 | # replace these SRCREVs with the real commit ids once you've had | ||
32 | # the appropriate changes committed to the upstream linux-yocto repo | ||
33 | SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" | ||
34 | SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" | ||
35 | #LINUX_VERSION = "4.10" | ||
36 | #Remove the following line once AUTOREV is locked to a certain SRCREV | ||
37 | KERNEL_VERSION_SANITY_SKIP = "1" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.12.bbappend b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.12.bbappend deleted file mode 100644 index 6f3e104c66..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.12.bbappend +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | # yocto-bsp-filename {{ if kernel_choice == "linux-yocto-tiny_4.12": }} this | ||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
3 | |||
4 | PR := "${PR}.1" | ||
5 | |||
6 | COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}" | ||
7 | |||
8 | {{ 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" }} | ||
9 | |||
10 | {{ if need_new_kbranch == "y": }} | ||
11 | {{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }} | ||
12 | |||
13 | {{ if need_new_kbranch == "n": }} | ||
14 | {{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }} | ||
15 | |||
16 | {{ if need_new_kbranch == "n": }} | ||
17 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
18 | |||
19 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
20 | {{ if smp == "y": }} | ||
21 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
22 | |||
23 | SRC_URI += "file://{{=machine}}.scc \ | ||
24 | file://{{=machine}}.cfg \ | ||
25 | file://{{=machine}}-tiny.scc \ | ||
26 | file://{{=machine}}-user-config.cfg \ | ||
27 | file://{{=machine}}-user-patches.scc \ | ||
28 | file://{{=machine}}-user-features.scc \ | ||
29 | " | ||
30 | |||
31 | # replace these SRCREVs with the real commit ids once you've had | ||
32 | # the appropriate changes committed to the upstream linux-yocto repo | ||
33 | SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" | ||
34 | SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" | ||
35 | #LINUX_VERSION = "4.10" | ||
36 | #Remove the following line once AUTOREV is locked to a certain SRCREV | ||
37 | KERNEL_VERSION_SANITY_SKIP = "1" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend deleted file mode 100644 index 62d1817f22..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | # yocto-bsp-filename {{ if kernel_choice == "linux-yocto-tiny_4.4": }} this | ||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
3 | |||
4 | PR := "${PR}.1" | ||
5 | |||
6 | COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}" | ||
7 | |||
8 | {{ 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" }} | ||
9 | |||
10 | {{ if need_new_kbranch == "y": }} | ||
11 | {{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }} | ||
12 | |||
13 | {{ if need_new_kbranch == "n": }} | ||
14 | {{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }} | ||
15 | |||
16 | {{ if need_new_kbranch == "n": }} | ||
17 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
18 | |||
19 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
20 | {{ if smp == "y": }} | ||
21 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
22 | |||
23 | SRC_URI += "file://{{=machine}}.scc \ | ||
24 | file://{{=machine}}.cfg \ | ||
25 | file://{{=machine}}-tiny.scc \ | ||
26 | file://{{=machine}}-user-config.cfg \ | ||
27 | file://{{=machine}}-user-patches.scc \ | ||
28 | file://{{=machine}}-user-features.scc \ | ||
29 | " | ||
30 | |||
31 | # replace these SRCREVs with the real commit ids once you've had | ||
32 | # the appropriate changes committed to the upstream linux-yocto repo | ||
33 | SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" | ||
34 | SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" | ||
35 | #LINUX_VERSION = "4.4" | ||
36 | #Remove the following line once AUTOREV is locked to a certain SRCREV | ||
37 | KERNEL_VERSION_SANITY_SKIP = "1" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.10.bbappend b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.10.bbappend deleted file mode 100644 index dfbecb5337..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.10.bbappend +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | # yocto-bsp-filename {{ if kernel_choice == "linux-yocto_4.10": }} this | ||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
3 | |||
4 | PR := "${PR}.1" | ||
5 | |||
6 | COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}" | ||
7 | |||
8 | {{ 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" }} | ||
9 | |||
10 | {{ if need_new_kbranch == "y": }} | ||
11 | {{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
12 | |||
13 | {{ if need_new_kbranch == "n": }} | ||
14 | {{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
15 | |||
16 | {{ if need_new_kbranch == "n": }} | ||
17 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
18 | |||
19 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
20 | {{ if smp == "y": }} | ||
21 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
22 | |||
23 | SRC_URI += "file://{{=machine}}.scc \ | ||
24 | file://{{=machine}}.cfg \ | ||
25 | file://{{=machine}}-standard.scc \ | ||
26 | file://{{=machine}}-user-config.cfg \ | ||
27 | file://{{=machine}}-user-features.scc \ | ||
28 | file://{{=machine}}-user-patches.scc \ | ||
29 | " | ||
30 | |||
31 | # replace these SRCREVs with the real commit ids once you've had | ||
32 | # the appropriate changes committed to the upstream linux-yocto repo | ||
33 | SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" | ||
34 | SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" | ||
35 | #LINUX_VERSION = "4.10" | ||
36 | #Remove the following line once AUTOREV is locked to a certain SRCREV | ||
37 | KERNEL_VERSION_SANITY_SKIP = "1" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.12.bbappend b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.12.bbappend deleted file mode 100644 index e874c9e45f..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.12.bbappend +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | # yocto-bsp-filename {{ if kernel_choice == "linux-yocto_4.12": }} this | ||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
3 | |||
4 | PR := "${PR}.1" | ||
5 | |||
6 | COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}" | ||
7 | |||
8 | {{ 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" }} | ||
9 | |||
10 | {{ if need_new_kbranch == "y": }} | ||
11 | {{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
12 | |||
13 | {{ if need_new_kbranch == "n": }} | ||
14 | {{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
15 | |||
16 | {{ if need_new_kbranch == "n": }} | ||
17 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
18 | |||
19 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
20 | {{ if smp == "y": }} | ||
21 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
22 | |||
23 | SRC_URI += "file://{{=machine}}.scc \ | ||
24 | file://{{=machine}}.cfg \ | ||
25 | file://{{=machine}}-standard.scc \ | ||
26 | file://{{=machine}}-user-config.cfg \ | ||
27 | file://{{=machine}}-user-features.scc \ | ||
28 | file://{{=machine}}-user-patches.scc \ | ||
29 | " | ||
30 | |||
31 | # replace these SRCREVs with the real commit ids once you've had | ||
32 | # the appropriate changes committed to the upstream linux-yocto repo | ||
33 | SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" | ||
34 | SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" | ||
35 | #LINUX_VERSION = "4.10" | ||
36 | #Remove the following line once AUTOREV is locked to a certain SRCREV | ||
37 | KERNEL_VERSION_SANITY_SKIP = "1" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.4.bbappend b/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.4.bbappend deleted file mode 100644 index a809c7600a..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.4.bbappend +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | # yocto-bsp-filename {{ if kernel_choice == "linux-yocto_4.4": }} this | ||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
3 | |||
4 | PR := "${PR}.1" | ||
5 | |||
6 | COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}" | ||
7 | |||
8 | {{ 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" }} | ||
9 | |||
10 | {{ if need_new_kbranch == "y": }} | ||
11 | {{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
12 | |||
13 | {{ if need_new_kbranch == "n": }} | ||
14 | {{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
15 | |||
16 | {{ if need_new_kbranch == "n": }} | ||
17 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
18 | |||
19 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
20 | {{ if smp == "y": }} | ||
21 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
22 | |||
23 | SRC_URI += "file://{{=machine}}.scc \ | ||
24 | file://{{=machine}}.cfg \ | ||
25 | file://{{=machine}}-standard.scc \ | ||
26 | file://{{=machine}}-user-config.cfg \ | ||
27 | file://{{=machine}}-user-features.scc \ | ||
28 | file://{{=machine}}-user-patches.scc \ | ||
29 | " | ||
30 | |||
31 | # replace these SRCREVs with the real commit ids once you've had | ||
32 | # the appropriate changes committed to the upstream linux-yocto repo | ||
33 | SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" | ||
34 | SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" | ||
35 | #LINUX_VERSION = "4.4" | ||
36 | #Remove the following line once AUTOREV is locked to a certain SRCREV | ||
37 | KERNEL_VERSION_SANITY_SKIP = "1" | ||