diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2017-10-23 16:45:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-05 22:33:24 +0000 |
commit | 58ef101032c301f54b9ecc9fcc9b84b5038df030 (patch) | |
tree | 5db5fec052601ff482a359eb7117ea09d391857f /scripts/lib/bsp/substrate | |
parent | 2813a9380f6266aa803f7425cefff1d5d44444bf (diff) | |
download | poky-58ef101032c301f54b9ecc9fcc9b84b5038df030.tar.gz |
scripts/lib/bsp: delete, all users have been removed
With the removal of yocto-bsp and yocto-kernel there are no longer any users
of this library, therefore delete it.
(From meta-yocto rev: 0d44e59bfaa95162cf2133df1d08f6419314bb8e)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/bsp/substrate')
177 files changed, 0 insertions, 4119 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/.gitignore b/scripts/lib/bsp/substrate/target/arch/arm/.gitignore deleted file mode 100644 index e69de29bb2..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/.gitignore +++ /dev/null | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/conf/machine/machine.conf b/scripts/lib/bsp/substrate/target/arch/arm/conf/machine/machine.conf deleted file mode 100644 index 624750c527..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/conf/machine/machine.conf +++ /dev/null | |||
@@ -1,100 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.conf | ||
2 | #@TYPE: Machine | ||
3 | #@NAME: {{=machine}} | ||
4 | |||
5 | #@DESCRIPTION: Machine configuration for {{=machine}} systems | ||
6 | |||
7 | {{ input type:"boolean" name:"xserver" prio:"50" msg:"Do you need support for X? (y/n)" default:"y" }} | ||
8 | {{ if xserver == "y": }} | ||
9 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" | ||
10 | XSERVER ?= "xserver-xorg \ | ||
11 | xf86-video-fbdev \ | ||
12 | " | ||
13 | |||
14 | MACHINE_EXTRA_RRECOMMENDS = " kernel-modules kernel-devicetree" | ||
15 | |||
16 | EXTRA_IMAGEDEPENDS += "u-boot" | ||
17 | |||
18 | {{ input type:"choicelist" name:"tunefile" prio:"40" msg:"Which machine tuning would you like to use?" default:"tune_cortexa8" }} | ||
19 | {{ input type:"choice" val:"tune_arm1136jf_s" msg:"arm1136jf-s tuning optimizations" }} | ||
20 | {{ input type:"choice" val:"tune_arm920t" msg:"arm920t tuning optimizations" }} | ||
21 | {{ input type:"choice" val:"tune_arm926ejs" msg:"arm926ejs tuning optimizations" }} | ||
22 | {{ input type:"choice" val:"tune_arm9tdmi" msg:"arm9tdmi tuning optimizations" }} | ||
23 | {{ input type:"choice" val:"tune_cortexa5" msg:"cortexa5 tuning optimizations" }} | ||
24 | {{ input type:"choice" val:"tune_cortexa7" msg:"cortexa7 tuning optimizations" }} | ||
25 | {{ input type:"choice" val:"tune_cortexa8" msg:"cortexa8 tuning optimizations" }} | ||
26 | {{ input type:"choice" val:"tune_cortexa9" msg:"cortexa9 tuning optimizations" }} | ||
27 | {{ input type:"choice" val:"tune_cortexa15" msg:"cortexa15 tuning optimizations" }} | ||
28 | {{ input type:"choice" val:"tune_cortexm1" msg:"cortexm1 tuning optimizations" }} | ||
29 | {{ input type:"choice" val:"tune_cortexm3" msg:"cortexm3 tuning optimizations" }} | ||
30 | {{ input type:"choice" val:"tune_cortexr4" msg:"cortexr4 tuning optimizations" }} | ||
31 | {{ input type:"choice" val:"tune_ep9312" msg:"ep9312 tuning optimizations" }} | ||
32 | {{ input type:"choice" val:"tune_iwmmxt" msg:"iwmmxt tuning optimizations" }} | ||
33 | {{ input type:"choice" val:"tune_strongarm1100" msg:"strongarm1100 tuning optimizations" }} | ||
34 | {{ input type:"choice" val:"tune_xscale" msg:"xscale tuning optimizations" }} | ||
35 | {{ if tunefile == "tune_arm1136jf_s": }} | ||
36 | include conf/machine/include/tune-arm1136jf-s.inc | ||
37 | {{ if tunefile == "tune_arm920t": }} | ||
38 | include conf/machine/include/tune-arm920t.inc | ||
39 | {{ if tunefile == "tune_arm926ejs": }} | ||
40 | include conf/machine/include/tune-arm926ejs.inc | ||
41 | {{ if tunefile == "tune_arm9tdmi": }} | ||
42 | include conf/machine/include/tune-arm9tdmi.inc | ||
43 | {{ if tunefile == "tune_cortexa5": }} | ||
44 | include conf/machine/include/tune-cortexa5.inc | ||
45 | {{ if tunefile == "tune_cortexa7": }} | ||
46 | include conf/machine/include/tune-cortexa7.inc | ||
47 | {{ if tunefile == "tune_cortexa8": }} | ||
48 | DEFAULTTUNE ?= "cortexa8hf-neon" | ||
49 | include conf/machine/include/tune-cortexa8.inc | ||
50 | {{ if tunefile == "tune_cortexa9": }} | ||
51 | include conf/machine/include/tune-cortexa9.inc | ||
52 | {{ if tunefile == "tune_cortexa15": }} | ||
53 | include conf/machine/include/tune-cortexa15.inc | ||
54 | {{ if tunefile == "tune_cortexm1": }} | ||
55 | include conf/machine/include/tune-cortexm1.inc | ||
56 | {{ if tunefile == "tune_cortexm3": }} | ||
57 | include conf/machine/include/tune-cortexm3.inc | ||
58 | {{ if tunefile == "tune_cortexr4": }} | ||
59 | include conf/machine/include/tune-cortexr4.inc | ||
60 | {{ if tunefile == "tune_ep9312": }} | ||
61 | include conf/machine/include/tune-ep9312.inc | ||
62 | {{ if tunefile == "tune_iwmmxt": }} | ||
63 | include conf/machine/include/tune-iwmmxt.inc | ||
64 | {{ if tunefile == "tune_strongarm1100": }} | ||
65 | include conf/machine/include/tune-strongarm1100.inc | ||
66 | {{ if tunefile == "tune_xscale": }} | ||
67 | include conf/machine/include/tune-xscale.inc | ||
68 | |||
69 | IMAGE_FSTYPES += "tar.bz2 jffs2" | ||
70 | EXTRA_IMAGECMD_jffs2 = "-lnp " | ||
71 | |||
72 | SERIAL_CONSOLE = "115200 ttyO0" | ||
73 | |||
74 | {{ if kernel_choice == "custom": preferred_kernel = "linux-yocto-custom" }} | ||
75 | {{ if kernel_choice == "linux-yocto-dev": preferred_kernel = "linux-yocto-dev" }} | ||
76 | {{ if kernel_choice == "custom" or kernel_choice == "linux-yocto-dev" : }} | ||
77 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
78 | |||
79 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel = kernel_choice.split('_')[0] }} | ||
80 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel_version = kernel_choice.split('_')[1] }} | ||
81 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": }} | ||
82 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
83 | PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" | ||
84 | |||
85 | KERNEL_IMAGETYPE = "uImage" | ||
86 | KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb" | ||
87 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" | ||
88 | |||
89 | SPL_BINARY = "MLO" | ||
90 | UBOOT_SUFFIX = "img" | ||
91 | {{ input type:"edit" name:"uboot_machine" prio:"40" msg:"Please specify a value for UBOOT_MACHINE:" default:"am335x_evm_config" }} | ||
92 | UBOOT_MACHINE = "{{=uboot_machine}}" | ||
93 | {{ input type:"edit" name:"uboot_entrypoint" prio:"40" msg:"Please specify a value for UBOOT_ENTRYPOINT:" default:"0x80008000" }} | ||
94 | UBOOT_ENTRYPOINT = "{{=uboot_entrypoint}}" | ||
95 | {{ input type:"edit" name:"uboot_loadaddress" prio:"40" msg:"Please specify a value for UBOOT_LOADADDRESS:" default:"0x80008000" }} | ||
96 | UBOOT_LOADADDRESS = "{{=uboot_loadaddress}}" | ||
97 | |||
98 | MACHINE_FEATURES = "usbgadget usbhost vfat alsa" | ||
99 | |||
100 | IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-graphics/xorg-xserver/xserver-xf86-config/machine.noinstall b/scripts/lib/bsp/substrate/target/arch/arm/recipes-graphics/xorg-xserver/xserver-xf86-config/machine.noinstall deleted file mode 100644 index b442d02d57..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/recipes-graphics/xorg-xserver/xserver-xf86-config/machine.noinstall +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-dirname {{=machine}} | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-graphics/xorg-xserver/xserver-xf86-config/machine/xorg.conf b/scripts/lib/bsp/substrate/target/arch/arm/recipes-graphics/xorg-xserver/xserver-xf86-config/machine/xorg.conf deleted file mode 100644 index bc52893e2a..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/recipes-graphics/xorg-xserver/xserver-xf86-config/machine/xorg.conf +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | # yocto-bsp-filename {{ if xserver == "y": }} this | ||
2 | Section "Module" | ||
3 | Load "extmod" | ||
4 | Load "dbe" | ||
5 | Load "glx" | ||
6 | Load "freetype" | ||
7 | Load "type1" | ||
8 | Load "record" | ||
9 | Load "dri" | ||
10 | EndSection | ||
11 | |||
12 | Section "Monitor" | ||
13 | Identifier "Builtin Default Monitor" | ||
14 | EndSection | ||
15 | |||
16 | Section "Device" | ||
17 | Identifier "Builtin Default fbdev Device 0" | ||
18 | Driver "omapfb" | ||
19 | EndSection | ||
20 | |||
21 | Section "Screen" | ||
22 | Identifier "Builtin Default fbdev Screen 0" | ||
23 | Device "Builtin Default fbdev Device 0" | ||
24 | Monitor "Builtin Default Monitor" | ||
25 | EndSection | ||
26 | |||
27 | Section "ServerLayout" | ||
28 | Identifier "Builtin Default Layout" | ||
29 | Screen "Builtin Default fbdev Screen 0" | ||
30 | EndSection | ||
31 | |||
32 | Section "ServerFlags" | ||
33 | Option "DontZap" "0" | ||
34 | EndSection | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend deleted file mode 100644 index 30830031ed..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | # yocto-bsp-filename {{ if xserver == "y": }} this | ||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files.noinstall b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files.noinstall deleted file mode 100644 index 1e0d92c55c..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/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/arm/recipes-kernel/linux/files/machine-non_hardware.cfg b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-non_hardware.cfg deleted file mode 100644 index 9bfc90c6f2..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-non_hardware.cfg +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-non_hardware.cfg | ||
2 | # | ||
3 | # Miscellaneous filesystems | ||
4 | # | ||
5 | CONFIG_NFS_DEF_FILE_IO_SIZE=1024 | ||
6 | |||
7 | # | ||
8 | # Multiple Device Support | ||
9 | # | ||
10 | # CONFIG_MD is not set | ||
11 | |||
12 | # Kernel Features | ||
13 | # | ||
14 | CONFIG_NO_HZ=y | ||
15 | |||
16 | # | ||
17 | # CPUIdle | ||
18 | # | ||
19 | CONFIG_CPU_IDLE=y | ||
20 | CONFIG_CPU_IDLE_GOV_LADDER=y | ||
21 | CONFIG_CPU_IDLE_GOV_MENU=y | ||
22 | |||
23 | # | ||
24 | # Kernel hacking | ||
25 | # | ||
26 | CONFIG_DEBUG_FS=y | ||
27 | |||
28 | # | ||
29 | # Power management options | ||
30 | # | ||
31 | CONFIG_PM_DEBUG=y | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-preempt-rt.scc b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-preempt-rt.scc deleted file mode 100644 index ea6966ca4d..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-preempt-rt.scc +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-preempt-rt.scc | ||
2 | define KMACHINE {{=machine}} | ||
3 | |||
4 | define KARCH arm | ||
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 | ||
12 | |||
13 | # default policy for preempt-rt kernels | ||
14 | include features/latencytop/latencytop.scc | ||
15 | include features/profiling/profiling.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-standard.scc b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-standard.scc deleted file mode 100644 index 8a881574d9..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-standard.scc +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-standard.scc | ||
2 | define KMACHINE {{=machine}} | ||
3 | |||
4 | define KARCH arm | ||
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 | ||
12 | |||
13 | # default policy for standard kernels | ||
14 | include features/latencytop/latencytop.scc | ||
15 | include features/profiling/profiling.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-tiny.scc b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-tiny.scc deleted file mode 100644 index 921b7e7e92..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/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 arm | ||
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/arm/recipes-kernel/linux/files/machine-user-config.cfg b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-user-config.cfg deleted file mode 100644 index 47489e44e9..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/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/arm/recipes-kernel/linux/files/machine-user-features.scc b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-user-features.scc deleted file mode 100644 index 582759e612..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-user-features.scc +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-user-features.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-user-patches.scc b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-user-patches.scc deleted file mode 100644 index 97f747fa07..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/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/arm/recipes-kernel/linux/files/machine.cfg b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine.cfg deleted file mode 100644 index a2e1ae0f75..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine.cfg +++ /dev/null | |||
@@ -1,321 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.cfg | ||
2 | # | ||
3 | # System Type | ||
4 | # | ||
5 | CONFIG_ARCH_OMAP=y | ||
6 | |||
7 | # | ||
8 | # TI OMAP Implementations | ||
9 | # | ||
10 | # CONFIG_ARCH_OMAP2 is not set | ||
11 | CONFIG_ARCH_OMAP3=y | ||
12 | |||
13 | # | ||
14 | # TI OMAP Common Features | ||
15 | # | ||
16 | CONFIG_ARCH_OMAP2PLUS=y | ||
17 | |||
18 | # | ||
19 | # OMAP Feature Selections | ||
20 | # | ||
21 | CONFIG_OMAP_32K_TIMER=y | ||
22 | CONFIG_OMAP_32K_TIMER_HZ=128 | ||
23 | CONFIG_OMAP_DM_TIMER=y | ||
24 | CONFIG_OMAP_RESET_CLOCKS=y | ||
25 | CONFIG_OMAP_SMARTREFLEX=y | ||
26 | CONFIG_OMAP_SMARTREFLEX_CLASS3=y | ||
27 | CONFIG_OMAP_MBOX_FWK=m | ||
28 | CONFIG_OMAP_MBOX_KFIFO_SIZE=256 | ||
29 | |||
30 | # | ||
31 | # OMAP Board Type | ||
32 | # | ||
33 | CONFIG_MACH_OMAP3_BEAGLE=y | ||
34 | |||
35 | # | ||
36 | # Processor Features | ||
37 | # | ||
38 | CONFIG_ARM_THUMBEE=y | ||
39 | CONFIG_ARM_ERRATA_430973=y | ||
40 | |||
41 | # | ||
42 | # Kernel Features | ||
43 | # | ||
44 | CONFIG_LEDS=y | ||
45 | |||
46 | |||
47 | # | ||
48 | # Serial drivers | ||
49 | # | ||
50 | CONFIG_SERIAL_OMAP=y | ||
51 | CONFIG_SERIAL_OMAP_CONSOLE=y | ||
52 | |||
53 | # | ||
54 | # At least one emulation must be selected | ||
55 | # | ||
56 | CONFIG_VFP=y | ||
57 | CONFIG_NEON=y | ||
58 | |||
59 | # | ||
60 | # Power management options | ||
61 | # | ||
62 | CONFIG_PM=y | ||
63 | CONFIG_PM_RUNTIME=y | ||
64 | |||
65 | # | ||
66 | # Generic Driver Options | ||
67 | # | ||
68 | CONFIG_MTD=y | ||
69 | CONFIG_MTD_CMDLINE_PARTS=y | ||
70 | # | ||
71 | # User Modules And Translation Layers | ||
72 | # | ||
73 | CONFIG_MTD_BLKDEVS=y | ||
74 | CONFIG_MTD_BLOCK=y | ||
75 | |||
76 | # | ||
77 | # RAM/ROM/Flash chip drivers | ||
78 | # | ||
79 | CONFIG_MTD_CFI=y | ||
80 | CONFIG_MTD_CFI_INTELEXT=y | ||
81 | |||
82 | # | ||
83 | # Disk-On-Chip Device Drivers | ||
84 | # | ||
85 | CONFIG_MTD_NAND=y | ||
86 | |||
87 | CONFIG_MTD_NAND_OMAP2=y | ||
88 | |||
89 | CONFIG_MTD_UBI=y | ||
90 | |||
91 | # | ||
92 | # SCSI device support | ||
93 | # | ||
94 | CONFIG_SCSI=y | ||
95 | |||
96 | # | ||
97 | # SCSI support type (disk, tape, CD-ROM) | ||
98 | # | ||
99 | CONFIG_BLK_DEV_SD=y | ||
100 | |||
101 | # | ||
102 | # Ethernet (10 or 100Mbit) | ||
103 | # | ||
104 | CONFIG_SMSC911X=y | ||
105 | CONFIG_USB_NET_SMSC95XX=y | ||
106 | |||
107 | # | ||
108 | # Userland interfaces | ||
109 | # | ||
110 | CONFIG_INPUT_EVDEV=y | ||
111 | |||
112 | # | ||
113 | # Input Device Drivers | ||
114 | # | ||
115 | CONFIG_KEYBOARD_TWL4030=y | ||
116 | CONFIG_INPUT_TOUCHSCREEN=y | ||
117 | CONFIG_TOUCHSCREEN_ADS7846=y | ||
118 | |||
119 | # | ||
120 | # Miscellaneous I2C Chip support | ||
121 | # | ||
122 | CONFIG_I2C=y | ||
123 | CONFIG_I2C_OMAP=y | ||
124 | CONFIG_SPI=y | ||
125 | CONFIG_SPI_MASTER=y | ||
126 | CONFIG_SPI_OMAP24XX=y | ||
127 | |||
128 | # | ||
129 | # I2C GPIO expanders: | ||
130 | # | ||
131 | CONFIG_GPIO_TWL4030=y | ||
132 | |||
133 | # | ||
134 | # SPI GPIO expanders: | ||
135 | # | ||
136 | CONFIG_OMAP_WATCHDOG=y | ||
137 | CONFIG_WATCHDOG_NOWAYOUT=y | ||
138 | |||
139 | # | ||
140 | # Multifunction device drivers | ||
141 | # | ||
142 | CONFIG_TWL4030_CORE=y | ||
143 | CONFIG_REGULATOR=y | ||
144 | CONFIG_REGULATOR_DUMMY=y | ||
145 | CONFIG_REGULATOR_TWL4030=y | ||
146 | |||
147 | # | ||
148 | # Graphics support | ||
149 | # | ||
150 | CONFIG_FB=y | ||
151 | CONFIG_DRM=m | ||
152 | # CONFIG_VGASTATE is not set | ||
153 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
154 | # CONFIG_FIRMWARE_EDID is not set | ||
155 | # CONFIG_FB_DDC is not set | ||
156 | # CONFIG_FB_BOOT_VESA_SUPPORT is not set | ||
157 | CONFIG_FB_CFB_FILLRECT=y | ||
158 | CONFIG_FB_CFB_COPYAREA=y | ||
159 | CONFIG_FB_CFB_IMAGEBLIT=y | ||
160 | # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set | ||
161 | # CONFIG_FB_SYS_FILLRECT is not set | ||
162 | # CONFIG_FB_SYS_COPYAREA is not set | ||
163 | # CONFIG_FB_SYS_IMAGEBLIT is not set | ||
164 | # CONFIG_FB_FOREIGN_ENDIAN is not set | ||
165 | # CONFIG_FB_SYS_FOPS is not set | ||
166 | # CONFIG_FB_SVGALIB is not set | ||
167 | # CONFIG_FB_MACMODES is not set | ||
168 | # CONFIG_FB_BACKLIGHT is not set | ||
169 | CONFIG_FB_MODE_HELPERS=y | ||
170 | # CONFIG_FB_TILEBLITTING is not set | ||
171 | |||
172 | # | ||
173 | # Frame buffer hardware drivers | ||
174 | # | ||
175 | # CONFIG_FB_S1D13XXX is not set | ||
176 | # CONFIG_FB_TMIO is not set | ||
177 | # CONFIG_FB_VIRTUAL is not set | ||
178 | # CONFIG_FB_METRONOME is not set | ||
179 | # CONFIG_FB_MB862XX is not set | ||
180 | # CONFIG_FB_BROADSHEET is not set | ||
181 | # CONFIG_FB_OMAP_BOOTLOADER_INIT is not set | ||
182 | CONFIG_OMAP2_VRAM=y | ||
183 | CONFIG_OMAP2_VRFB=y | ||
184 | CONFIG_OMAP2_DSS=y | ||
185 | CONFIG_OMAP2_VRAM_SIZE=14 | ||
186 | CONFIG_OMAP2_DSS_DEBUG_SUPPORT=y | ||
187 | # CONFIG_OMAP2_DSS_COLLECT_IRQ_STATS is not set | ||
188 | CONFIG_OMAP2_DSS_DPI=y | ||
189 | # CONFIG_OMAP2_DSS_RFBI is not set | ||
190 | CONFIG_OMAP2_DSS_VENC=y | ||
191 | # CONFIG_OMAP2_DSS_SDI is not set | ||
192 | CONFIG_OMAP2_DSS_DSI=y | ||
193 | # CONFIG_OMAP2_DSS_FAKE_VSYNC is not set | ||
194 | CONFIG_OMAP2_DSS_MIN_FCK_PER_PCK=0 | ||
195 | CONFIG_FB_OMAP2=y | ||
196 | CONFIG_FB_OMAP2_DEBUG_SUPPORT=y | ||
197 | CONFIG_FB_OMAP2_NUM_FBS=2 | ||
198 | |||
199 | # | ||
200 | # OMAP2/3 Display Device Drivers | ||
201 | # | ||
202 | CONFIG_PANEL_GENERIC_DPI=y | ||
203 | CONFIG_PANEL_DVI=y | ||
204 | CONFIG_PANEL_SHARP_LS037V7DW01=y | ||
205 | # CONFIG_PANEL_LGPHILIPS_LB035Q02 is not set | ||
206 | # CONFIG_PANEL_TAAL is not set | ||
207 | CONFIG_PANEL_TPO_TD043MTEA1=m | ||
208 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
209 | CONFIG_BACKLIGHT_CLASS_DEVICE=y | ||
210 | |||
211 | # | ||
212 | # Display device support | ||
213 | # | ||
214 | CONFIG_DISPLAY_SUPPORT=y | ||
215 | CONFIG_DUMMY_CONSOLE=y | ||
216 | # CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set | ||
217 | CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y | ||
218 | # CONFIG_FONTS is not set | ||
219 | CONFIG_FONT_8x8=y | ||
220 | CONFIG_FONT_8x16=y | ||
221 | # CONFIG_LOGO_LINUX_MONO is not set | ||
222 | # CONFIG_LOGO_LINUX_VGA16 is not set | ||
223 | |||
224 | # | ||
225 | # Console display driver support | ||
226 | # | ||
227 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
228 | CONFIG_LOGO=y | ||
229 | # CONFIG_VGA_CONSOLE is not set | ||
230 | |||
231 | # DMA Devices | ||
232 | CONFIG_DMADEVICES=y | ||
233 | CONFIG_DMA_OMAP=y | ||
234 | CONFIG_DMA_OF=y | ||
235 | |||
236 | CONFIG_SOUND=y | ||
237 | CONFIG_SND=y | ||
238 | CONFIG_SND_SOC=y | ||
239 | CONFIG_SND_OMAP_SOC=y | ||
240 | CONFIG_SND_OMAP_SOC_OMAP_TWL4030=y | ||
241 | |||
242 | # | ||
243 | # USB Input Devices | ||
244 | # | ||
245 | CONFIG_USB=y | ||
246 | CONFIG_USB_SUPPORT=y | ||
247 | |||
248 | # | ||
249 | # Miscellaneous USB options | ||
250 | # | ||
251 | CONFIG_USB_OTG=y | ||
252 | # CONFIG_USB_OTG_WHITELIST is not set | ||
253 | |||
254 | # | ||
255 | # USB Host Controller Drivers | ||
256 | # | ||
257 | CONFIG_USB_EHCI_HCD=y | ||
258 | CONFIG_USB_EHCI_TT_NEWSCHED=y | ||
259 | CONFIG_USB_EHCI_ROOT_HUB_TT=y | ||
260 | CONFIG_USB_MUSB_HDRC=y | ||
261 | CONFIG_USB_MUSB_OMAP2PLUS=y | ||
262 | CONFIG_USB_OMAP=y | ||
263 | |||
264 | # | ||
265 | # OMAP 343x high speed USB support | ||
266 | # | ||
267 | CONFIG_USB_MUSB_OTG=y | ||
268 | CONFIG_USB_GADGET_MUSB_HDRC=y | ||
269 | CONFIG_USB_MUSB_HDRC_HCD=y | ||
270 | CONFIG_USB_INVENTRA_DMA=y | ||
271 | |||
272 | # | ||
273 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | ||
274 | # | ||
275 | |||
276 | # | ||
277 | # may also be needed; see USB_STORAGE Help for more information | ||
278 | # | ||
279 | CONFIG_USB_STORAGE=y | ||
280 | |||
281 | # | ||
282 | # USB Miscellaneous drivers | ||
283 | # | ||
284 | CONFIG_USB_GADGET=y | ||
285 | CONFIG_USB_GADGET_DUALSPEED=y | ||
286 | CONFIG_USB_OTG_UTILS=y | ||
287 | CONFIG_TWL4030_USB=y | ||
288 | |||
289 | # USB gadget modules | ||
290 | CONFIG_USB_G_NCM=y | ||
291 | CONFIG_USB_MASS_STORAGE=y | ||
292 | |||
293 | CONFIG_MMC=y | ||
294 | |||
295 | # | ||
296 | # MMC/SD Host Controller Drivers | ||
297 | # | ||
298 | CONFIG_MMC_OMAP_HS=y | ||
299 | |||
300 | # | ||
301 | # Real Time Clock | ||
302 | # | ||
303 | CONFIG_RTC_LIB=y | ||
304 | CONFIG_RTC_CLASS=y | ||
305 | CONFIG_RTC_DRV_TWL4030=y | ||
306 | |||
307 | # | ||
308 | # DOS/FAT/NT Filesystems | ||
309 | # | ||
310 | CONFIG_VFAT_FS=y | ||
311 | |||
312 | # | ||
313 | # Multimedia core support | ||
314 | # | ||
315 | |||
316 | # CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set | ||
317 | |||
318 | # | ||
319 | # Advanced Power Management Emulation support | ||
320 | # | ||
321 | CONFIG_APM_EMULATION=y | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine.scc b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine.scc deleted file mode 100644 index fb3866f119..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine.scc +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.scc | ||
2 | kconf hardware {{=machine}}.cfg | ||
3 | kconf non-hardware {{machine}}-non_hardware.cfg | ||
4 | |||
5 | include features/usb-net/usb-net.scc | ||
6 | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/kernel-list.noinstall b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/kernel-list.noinstall deleted file mode 100644 index 917f0e2207..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/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/arm/recipes-kernel/linux/linux-yocto-dev.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-dev.bbappend deleted file mode 100644 index 22ed273811..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/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/arm/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend deleted file mode 100644 index bae943ea1e..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/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/arm/recipes-kernel/linux/linux-yocto-tiny_4.12.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.12.bbappend deleted file mode 100644 index 6f3e104c66..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/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/arm/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend deleted file mode 100644 index 62d1817f22..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/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/arm/recipes-kernel/linux/linux-yocto_4.10.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.10.bbappend deleted file mode 100644 index dfbecb5337..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/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/arm/recipes-kernel/linux/linux-yocto_4.12.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.12.bbappend deleted file mode 100644 index e874c9e45f..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/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/arm/recipes-kernel/linux/linux-yocto_4.4.bbappend b/scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.4.bbappend deleted file mode 100644 index a809c7600a..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/arm/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" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/common/COPYING.MIT b/scripts/lib/bsp/substrate/target/arch/common/COPYING.MIT deleted file mode 100644 index fb950dc69f..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/common/COPYING.MIT +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
2 | of this software and associated documentation files (the "Software"), to deal | ||
3 | in the Software without restriction, including without limitation the rights | ||
4 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
5 | copies of the Software, and to permit persons to whom the Software is | ||
6 | furnished to do so, subject to the following conditions: | ||
7 | |||
8 | The above copyright notice and this permission notice shall be included in | ||
9 | all copies or substantial portions of the Software. | ||
10 | |||
11 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
12 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
13 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
14 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
15 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
16 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
17 | THE SOFTWARE. | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/common/README b/scripts/lib/bsp/substrate/target/arch/common/README deleted file mode 100644 index 928659f302..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/common/README +++ /dev/null | |||
@@ -1,118 +0,0 @@ | |||
1 | This README file contains information on building the meta-{{=machine}} | ||
2 | BSP layer, and booting the images contained in the /binary directory. | ||
3 | Please see the corresponding sections below for details. | ||
4 | |||
5 | |||
6 | Dependencies | ||
7 | ============ | ||
8 | |||
9 | This layer depends on: | ||
10 | |||
11 | URI: git://git.openembedded.org/bitbake | ||
12 | branch: master | ||
13 | |||
14 | URI: git://git.openembedded.org/openembedded-core | ||
15 | layers: meta | ||
16 | branch: master | ||
17 | |||
18 | URI: git://git.yoctoproject.org/xxxx | ||
19 | layers: xxxx | ||
20 | branch: master | ||
21 | |||
22 | |||
23 | Patches | ||
24 | ======= | ||
25 | |||
26 | Please submit any patches against this BSP to the Yocto mailing list | ||
27 | (yocto@yoctoproject.org) and cc: the maintainer: | ||
28 | |||
29 | Maintainer: XXX YYYYYY <xxx.yyyyyy@zzzzz.com> | ||
30 | |||
31 | Please see the meta-xxxx/MAINTAINERS file for more details. | ||
32 | |||
33 | |||
34 | Table of Contents | ||
35 | ================= | ||
36 | |||
37 | I. Building the meta-{{=machine}} BSP layer | ||
38 | II. Booting the images in /binary | ||
39 | |||
40 | |||
41 | I. Building the meta-{{=machine}} BSP layer | ||
42 | ======================================== | ||
43 | |||
44 | --- replace with specific instructions for your layer --- | ||
45 | |||
46 | In order to build an image with BSP support for a given release, you | ||
47 | need to download the corresponding BSP tarball from the 'Board Support | ||
48 | Package (BSP) Downloads' page of the Yocto Project website. | ||
49 | |||
50 | Having done that, and assuming you extracted the BSP tarball contents | ||
51 | at the top-level of your yocto build tree, you can build a | ||
52 | {{=machine}} image by adding the location of the meta-{{=machine}} | ||
53 | layer to bblayers.conf, along with any other layers needed (to access | ||
54 | common metadata shared between BSPs) e.g.: | ||
55 | |||
56 | yocto/meta-xxxx \ | ||
57 | yocto/meta-xxxx/meta-{{=machine}} \ | ||
58 | |||
59 | To enable the {{=machine}} layer, add the {{=machine}} MACHINE to local.conf: | ||
60 | |||
61 | MACHINE ?= "{{=machine}}" | ||
62 | |||
63 | You should then be able to build a {{=machine}} image as such: | ||
64 | |||
65 | $ source oe-init-build-env | ||
66 | $ bitbake core-image-sato | ||
67 | |||
68 | At the end of a successful build, you should have a live image that | ||
69 | you can boot from a USB flash drive (see instructions on how to do | ||
70 | that below, in the section 'Booting the images from /binary'). | ||
71 | |||
72 | As an alternative to downloading the BSP tarball, you can also work | ||
73 | directly from the meta-xxxx git repository. For each BSP in the | ||
74 | 'meta-xxxx' repository, there are multiple branches, one corresponding | ||
75 | to each major release starting with 'laverne' (0.90), in addition to | ||
76 | the latest code which tracks the current master (note that not all | ||
77 | BSPs are present in every release). Instead of extracting a BSP | ||
78 | tarball at the top level of your yocto build tree, you can | ||
79 | equivalently check out the appropriate branch from the meta-xxxx | ||
80 | repository at the same location. | ||
81 | |||
82 | |||
83 | II. Booting the images in /binary | ||
84 | ================================= | ||
85 | |||
86 | --- replace with specific instructions for your platform --- | ||
87 | |||
88 | This BSP contains bootable live images, which can be used to directly | ||
89 | boot Yocto off of a USB flash drive. | ||
90 | |||
91 | Under Linux, insert a USB flash drive. Assuming the USB flash drive | ||
92 | takes device /dev/sdf, use dd to copy the live image to it. For | ||
93 | example: | ||
94 | |||
95 | # dd if=core-image-sato-{{=machine}}-20101207053738.hddimg of=/dev/sdf | ||
96 | # sync | ||
97 | # eject /dev/sdf | ||
98 | |||
99 | This should give you a bootable USB flash device. Insert the device | ||
100 | into a bootable USB socket on the target, and power on. This should | ||
101 | result in a system booted to the Sato graphical desktop. | ||
102 | |||
103 | If you want a terminal, use the arrows at the top of the UI to move to | ||
104 | different pages of available applications, one of which is named | ||
105 | 'Terminal'. Clicking that should give you a root terminal. | ||
106 | |||
107 | If you want to ssh into the system, you can use the root terminal to | ||
108 | ifconfig the IP address and use that to ssh in. The root password is | ||
109 | empty, so to log in type 'root' for the user name and hit 'Enter' at | ||
110 | the Password prompt: and you should be in. | ||
111 | |||
112 | ---- | ||
113 | |||
114 | If you find you're getting corrupt images on the USB (it doesn't show | ||
115 | the syslinux boot: prompt, or the boot: prompt contains strange | ||
116 | characters), try doing this first: | ||
117 | |||
118 | # dd if=/dev/zero of=/dev/sdf bs=1M count=512 | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/common/README.sources b/scripts/lib/bsp/substrate/target/arch/common/README.sources deleted file mode 100644 index 3c4cb7b435..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/common/README.sources +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | The sources for the packages comprising the images shipped with this | ||
2 | BSP can be found at the following location: | ||
3 | |||
4 | http://downloads.yoctoproject.org/mirror/sources/ | ||
5 | |||
6 | The metadata used to generate the images shipped with this BSP, in | ||
7 | addition to the code contained in this BSP, can be found at the | ||
8 | following location: | ||
9 | |||
10 | http://www.yoctoproject.org/downloads/yocto-1.1/poky-edison-6.0.tar.bz2 | ||
11 | |||
12 | The metadata used to generate the images shipped with this BSP, in | ||
13 | addition to the code contained in this BSP, can also be found at the | ||
14 | following locations: | ||
15 | |||
16 | git://git.yoctoproject.org/poky.git | ||
17 | git://git.yoctoproject.org/meta-xxxx | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/common/binary/.gitignore b/scripts/lib/bsp/substrate/target/arch/common/binary/.gitignore deleted file mode 100644 index e69de29bb2..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/common/binary/.gitignore +++ /dev/null | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/common/conf/layer.conf b/scripts/lib/bsp/substrate/target/arch/common/conf/layer.conf deleted file mode 100644 index 5529f45954..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/common/conf/layer.conf +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | # We have a conf and classes directory, add to BBPATH | ||
2 | BBPATH .= ":${LAYERDIR}" | ||
3 | |||
4 | # We have a recipes-* directories, add to BBFILES | ||
5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ | ||
6 | ${LAYERDIR}/recipes-*/*/*.bbappend" | ||
7 | |||
8 | BBFILE_COLLECTIONS += "{{=machine}}" | ||
9 | BBFILE_PATTERN_{{=machine}} = "^${LAYERDIR}/" | ||
10 | BBFILE_PRIORITY_{{=machine}} = "6" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/common/recipes-bsp/formfactor/formfactor/machine.noinstall b/scripts/lib/bsp/substrate/target/arch/common/recipes-bsp/formfactor/formfactor/machine.noinstall deleted file mode 100644 index b442d02d57..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/common/recipes-bsp/formfactor/formfactor/machine.noinstall +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-dirname {{=machine}} | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/common/recipes-bsp/formfactor/formfactor/machine/machconfig b/scripts/lib/bsp/substrate/target/arch/common/recipes-bsp/formfactor/formfactor/machine/machconfig deleted file mode 100644 index 3b85d3821f..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/common/recipes-bsp/formfactor/formfactor/machine/machconfig +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | # Assume a USB mouse and keyboard are connected | ||
2 | {{ input type:"boolean" name:"touchscreen" msg:"Does your BSP have a touchscreen? (y/n)" default:"n" }} | ||
3 | HAVE_TOUCHSCREEN={{=touchscreen}} | ||
4 | {{ input type:"boolean" name:"keyboard" msg:"Does your BSP have a keyboard? (y/n)" default:"y" }} | ||
5 | HAVE_KEYBOARD={{=keyboard}} | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/common/recipes-bsp/formfactor/formfactor_0.0.bbappend b/scripts/lib/bsp/substrate/target/arch/common/recipes-bsp/formfactor/formfactor_0.0.bbappend deleted file mode 100644 index 6d4804d127..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/common/recipes-bsp/formfactor/formfactor_0.0.bbappend +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/kernel-list.noinstall b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/kernel-list.noinstall deleted file mode 100644 index 663dddbb0f..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/kernel-list.noinstall +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | {{ if kernel_choice == "custom": }} | ||
2 | {{ input type:"boolean" name:"custom_kernel_remote" prio:"20" msg:"Is the custom kernel you'd like to use in a remote git repo? (y/n)" default:"y"}} | ||
3 | |||
4 | {{ if kernel_choice == "custom" and custom_kernel_remote == "y": }} | ||
5 | {{ input type:"edit-git-repo" name:"custom_kernel_remote_path" prio:"20" msg:"Please enter the full URI to the remote git repo (the default corresponds to linux-stable v3.16.3)" default:"git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git"}} | ||
6 | |||
7 | {{ if kernel_choice == "custom" and custom_kernel_remote == "n": }} | ||
8 | {{ input type:"edit-git-repo" name:"custom_kernel_local_path" prio:"20" msg:"You've indicated that you're not using a remote git repo. Please enter the full path to the local git repo you want to use (the default assumes a local linux-stable v3.16.3)" default:"/home/trz/yocto/kernels/linux-stable.git"}} | ||
9 | |||
10 | {{ if kernel_choice == "custom": }} | ||
11 | {{ input type:"boolean" name:"custom_kernel_need_kbranch" prio:"20" msg:"Do you need to use a specific (non-master) branch? (y/n)" default:"n"}} | ||
12 | |||
13 | {{ if kernel_choice == "custom" and custom_kernel_need_kbranch == "y": }} | ||
14 | {{ input type:"edit" name:"custom_kernel_kbranch" prio:"20" msg:"Please enter the branch you want to use (the default branch corresponds to the linux-stable 'linux-3.16.y' branch):" default:"linux-3.16.y"}} | ||
15 | |||
16 | {{ if kernel_choice == "custom": }} | ||
17 | {{ input type:"edit" name:"custom_kernel_srcrev" prio:"20" msg:"Please enter the SRCREV (commit id) you'd like to use (use '${AUTOREV}' to track the current HEAD):" default:"${AUTOREV}"}} | ||
18 | |||
19 | {{ if kernel_choice == "custom": }} | ||
20 | {{ input type:"edit" name:"custom_kernel_linux_version" prio:"20" msg:"Please enter the Linux version of the kernel you've specified:" default:"3.16.3"}} | ||
21 | |||
22 | {{ if kernel_choice == "custom": }} | ||
23 | {{ input type:"edit" name:"custom_kernel_linux_version_extension" prio:"20" msg:"Please enter a Linux version extension if you want (it will show up at the end of the kernel name shown by uname):" default:"-custom"}} | ||
24 | |||
25 | {{ if kernel_choice == "custom": }} | ||
26 | {{ input type:"edit-file" name:"custom_kernel_defconfig" prio:"20" msg:"It's recommended (but not required) that custom kernels be built using a defconfig. Please enter the full path to the defconfig for your kernel (NOTE: if you don't specify a defconfig the kernel probably won't build or boot):" default:""}} | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom.bb b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom.bb deleted file mode 100644 index 3ba4226aa9..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom.bb +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
1 | # yocto-bsp-filename {{ if kernel_choice == "custom": }} this | ||
2 | # This file was derived from the linux-yocto-custom.bb recipe in | ||
3 | # oe-core. | ||
4 | # | ||
5 | # linux-yocto-custom.bb: | ||
6 | # | ||
7 | # A yocto-bsp-generated kernel recipe that uses the linux-yocto and | ||
8 | # oe-core kernel classes to apply a subset of yocto kernel | ||
9 | # management to git managed kernel repositories. | ||
10 | # | ||
11 | # Warning: | ||
12 | # | ||
13 | # Building this kernel without providing a defconfig or BSP | ||
14 | # configuration will result in build or boot errors. This is not a | ||
15 | # bug. | ||
16 | # | ||
17 | # Notes: | ||
18 | # | ||
19 | # patches: patches can be merged into to the source git tree itself, | ||
20 | # added via the SRC_URI, or controlled via a BSP | ||
21 | # configuration. | ||
22 | # | ||
23 | # example configuration addition: | ||
24 | # SRC_URI += "file://smp.cfg" | ||
25 | # example patch addition: | ||
26 | # SRC_URI += "file://0001-linux-version-tweak.patch | ||
27 | # example feature addition: | ||
28 | # SRC_URI += "file://feature.scc" | ||
29 | # | ||
30 | |||
31 | inherit kernel | ||
32 | require recipes-kernel/linux/linux-yocto.inc | ||
33 | |||
34 | {{ if kernel_choice == "custom" and custom_kernel_remote == "y": }} | ||
35 | SRC_URI = "{{=custom_kernel_remote_path}};protocol=git;bareclone=1;branch=${KBRANCH}" | ||
36 | {{ if kernel_choice == "custom" and custom_kernel_remote == "n": }} | ||
37 | SRC_URI = "git://{{=custom_kernel_local_path}};protocol=file;bareclone=1;branch=${KBRANCH}" | ||
38 | |||
39 | SRC_URI += "file://defconfig" | ||
40 | |||
41 | SRC_URI += "file://{{=machine}}.scc \ | ||
42 | file://{{=machine}}.cfg \ | ||
43 | file://{{=machine}}-user-config.cfg \ | ||
44 | file://{{=machine}}-user-patches.scc \ | ||
45 | file://{{=machine}}-user-features.scc \ | ||
46 | " | ||
47 | |||
48 | {{ if kernel_choice == "custom" and custom_kernel_need_kbranch == "y" and custom_kernel_kbranch and custom_kernel_kbranch != "master": }} | ||
49 | KBRANCH = "{{=custom_kernel_kbranch}}" | ||
50 | |||
51 | LINUX_VERSION ?= "{{=custom_kernel_linux_version}}" | ||
52 | LINUX_VERSION_EXTENSION ?= "{{=custom_kernel_linux_version_extension}}" | ||
53 | |||
54 | SRCREV="{{=custom_kernel_srcrev}}" | ||
55 | |||
56 | PV = "${LINUX_VERSION}+git${SRCPV}" | ||
57 | |||
58 | COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom.noinstall b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom.noinstall deleted file mode 100644 index 017d206c24..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom.noinstall +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-dirname {{ if kernel_choice == "custom": }} linux-yocto-custom | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/defconfig b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/defconfig deleted file mode 100644 index ceb0ffa30c..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/defconfig +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | # | ||
2 | # Placeholder for custom default kernel configuration. yocto-bsp will | ||
3 | # replace this file with a user-specified defconfig. | ||
4 | # | ||
5 | {{ if custom_kernel_defconfig: replace_file(of, custom_kernel_defconfig) }} | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/machine-user-config.cfg b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/machine-user-config.cfg deleted file mode 100644 index 922309d5ab..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/machine-user-config.cfg +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-user-config.cfg | ||
2 | # | ||
3 | # Used by yocto-kernel to manage config options. | ||
4 | # | ||
5 | # yocto-kernel may change the contents of this file in any | ||
6 | # way it sees fit, including removing comments like this, | ||
7 | # so don't manually make any modifications you don't want | ||
8 | # to lose. | ||
9 | # | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/machine-user-features.scc b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/machine-user-features.scc deleted file mode 100644 index 582759e612..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/machine-user-features.scc +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-user-features.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/machine-user-patches.scc b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/machine-user-patches.scc deleted file mode 100644 index 6d1138f42a..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/machine-user-patches.scc +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-user-patches.scc | ||
2 | # | ||
3 | # Used by yocto-kernel to manage patches. | ||
4 | # | ||
5 | # yocto-kernel may change the contents of this file in any | ||
6 | # way it sees fit, including removing comments like this, | ||
7 | # so don't manually make any modifications you don't want | ||
8 | # to lose. | ||
9 | # | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/machine.cfg b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/machine.cfg deleted file mode 100644 index 1ba8201f16..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/machine.cfg +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.cfg | ||
2 | # | ||
3 | # A convenient place to add config options, nothing more. | ||
4 | # | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/machine.scc b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/machine.scc deleted file mode 100644 index 64d3ed181b..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/machine.scc +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.scc | ||
2 | # | ||
3 | # The top-level 'feature' for the {{=machine}} custom kernel. | ||
4 | # | ||
5 | # Essentially this is a convenient top-level container or starting | ||
6 | # point for adding lower-level config fragements and features. | ||
7 | # | ||
8 | |||
9 | # {{=machine}}.cfg in the linux-yocto-custom subdir is just a | ||
10 | # convenient place for adding random config fragments. | ||
11 | |||
12 | kconf hardware {{=machine}}.cfg | ||
13 | |||
14 | # These are used by yocto-kernel to add config fragments and features. | ||
15 | # Don't remove if you plan on using yocto-kernel with this BSP. | ||
16 | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/conf/machine/machine.conf b/scripts/lib/bsp/substrate/target/arch/i386/conf/machine/machine.conf deleted file mode 100644 index 4745c1cc56..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/i386/conf/machine/machine.conf +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.conf | ||
2 | #@TYPE: Machine | ||
3 | #@NAME: {{=machine}} | ||
4 | |||
5 | #@DESCRIPTION: Machine configuration for {{=machine}} systems | ||
6 | |||
7 | {{ if kernel_choice == "custom": preferred_kernel = "linux-yocto-custom" }} | ||
8 | {{ if kernel_choice == "linux-yocto-dev": preferred_kernel = "linux-yocto-dev" }} | ||
9 | {{ if kernel_choice == "custom" or kernel_choice == "linux-yocto-dev" : }} | ||
10 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
11 | |||
12 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel = kernel_choice.split('_')[0] }} | ||
13 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel_version = kernel_choice.split('_')[1] }} | ||
14 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": }} | ||
15 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
16 | PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" | ||
17 | |||
18 | {{ input type:"choicelist" name:"tunefile" prio:"40" msg:"Which machine tuning would you like to use?" default:"tune_core2" }} | ||
19 | {{ input type:"choice" val:"tune_i586" msg:"i586 tuning optimizations" }} | ||
20 | {{ input type:"choice" val:"tune_atom" msg:"Atom tuning optimizations" }} | ||
21 | {{ input type:"choice" val:"tune_core2" msg:"Core2 tuning optimizations" }} | ||
22 | {{ if tunefile == "tune_i586": }} | ||
23 | require conf/machine/include/tune-i586.inc | ||
24 | {{ if tunefile == "tune_atom": }} | ||
25 | require conf/machine/include/tune-atom.inc | ||
26 | {{ if tunefile == "tune_core2": }} | ||
27 | DEFAULTTUNE="core2-32" | ||
28 | require conf/machine/include/tune-core2.inc | ||
29 | |||
30 | require conf/machine/include/x86-base.inc | ||
31 | |||
32 | MACHINE_FEATURES += "wifi efi pcbios" | ||
33 | |||
34 | {{ input type:"boolean" name:"xserver" prio:"50" msg:"Do you need support for X? (y/n)" default:"y" }} | ||
35 | |||
36 | {{ if xserver == "y": }} | ||
37 | {{ input type:"choicelist" name:"xserver_choice" prio:"50" msg:"Please select an xserver for this machine:" default:"xserver_vesa" }} | ||
38 | {{ input type:"choice" val:"xserver_vesa" msg:"VESA xserver support" }} | ||
39 | {{ input type:"choice" val:"xserver_i915" msg:"i915 xserver support" }} | ||
40 | {{ input type:"choice" val:"xserver_i965" msg:"i965 xserver support" }} | ||
41 | {{ input type:"choice" val:"xserver_fbdev" msg:"fbdev xserver support" }} | ||
42 | {{ input type:"choice" val:"xserver_modesetting" msg:"modesetting xserver support" }} | ||
43 | |||
44 | {{ if xserver == "y" and kernel_choice != "linux-yocto_4.8" and kernel_choice != "linux-yocto_4.4" and kernel_choice != "linux-yocto_4.1" and kernel_choice != "custom": xserver_choice = "xserver_i915" }} | ||
45 | |||
46 | {{ if xserver == "y": }} | ||
47 | XSERVER ?= "${XSERVER_X86_BASE} \ | ||
48 | ${XSERVER_X86_EXT} \ | ||
49 | {{ if xserver == "y" and xserver_choice == "xserver_vesa": }} | ||
50 | ${XSERVER_X86_VESA} \ | ||
51 | {{ if xserver == "y" and xserver_choice == "xserver_i915": }} | ||
52 | ${XSERVER_X86_I915} \ | ||
53 | {{ if xserver == "y" and xserver_choice == "xserver_i965": }} | ||
54 | ${XSERVER_X86_I965} \ | ||
55 | {{ if xserver == "y" and xserver_choice == "xserver_fbdev": }} | ||
56 | ${XSERVER_X86_FBDEV} \ | ||
57 | {{ if xserver == "y" and xserver_choice == "xserver_modesetting": }} | ||
58 | ${XSERVER_X86_MODESETTING} \ | ||
59 | {{ if xserver == "y": }} | ||
60 | " | ||
61 | |||
62 | MACHINE_EXTRA_RRECOMMENDS += "linux-firmware v86d eee-acpi-scripts" | ||
63 | |||
64 | EXTRA_OECONF_append_pn-matchbox-panel-2 = " --with-battery=acpi" | ||
65 | |||
66 | GLIBC_ADDONS = "nptl" | ||
67 | |||
68 | {{ if xserver == "y" and xserver_choice == "xserver_vesa": }} | ||
69 | APPEND += "video=vesafb vga=0x318" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config/machine.noinstall b/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config/machine.noinstall deleted file mode 100644 index b442d02d57..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config/machine.noinstall +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-dirname {{=machine}} | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config/machine/xorg.conf b/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config/machine/xorg.conf deleted file mode 100644 index ac9a0f1bb0..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config/machine/xorg.conf +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-filename {{ if xserver == "y": }} this | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend deleted file mode 100644 index 30830031ed..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | # yocto-bsp-filename {{ if xserver == "y": }} this | ||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files.noinstall b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files.noinstall deleted file mode 100644 index 1e0d92c55c..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/i386/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/i386/recipes-kernel/linux/files/machine-preempt-rt.scc b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine-preempt-rt.scc deleted file mode 100644 index 7146e235a2..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine-preempt-rt.scc +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-preempt-rt.scc | ||
2 | define KMACHINE {{=machine}} | ||
3 | |||
4 | define KARCH i386 | ||
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 | ||
12 | |||
13 | # default policy for preempt-rt kernels | ||
14 | include cfg/usb-mass-storage.scc | ||
15 | include cfg/boot-live.scc | ||
16 | include features/latencytop/latencytop.scc | ||
17 | include features/profiling/profiling.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine-standard.scc b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine-standard.scc deleted file mode 100644 index 38d1ca558b..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine-standard.scc +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-standard.scc | ||
2 | define KMACHINE {{=machine}} | ||
3 | |||
4 | define KARCH i386 | ||
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 | ||
12 | |||
13 | # default policy for standard kernels | ||
14 | include cfg/usb-mass-storage.scc | ||
15 | include cfg/boot-live.scc | ||
16 | include features/latencytop/latencytop.scc | ||
17 | include features/profiling/profiling.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine-tiny.scc b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine-tiny.scc deleted file mode 100644 index 91373b3a5d..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/i386/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 i386 | ||
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/i386/recipes-kernel/linux/files/machine-user-config.cfg b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine-user-config.cfg deleted file mode 100644 index 69efdcc759..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine-user-config.cfg +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-user-config.cfg \ No newline at end of file | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine-user-features.scc b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine-user-features.scc deleted file mode 100644 index 85be26de97..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/i386/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/i386/recipes-kernel/linux/files/machine-user-patches.scc b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine-user-patches.scc deleted file mode 100644 index 4c59daac46..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine-user-patches.scc +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-user-patches.scc \ No newline at end of file | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg deleted file mode 100644 index fe5b8823fb..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.cfg | ||
2 | CONFIG_X86_32=y | ||
3 | # Must explicitly disable 64BIT | ||
4 | # CONFIG_64BIT is not set | ||
5 | |||
6 | CONFIG_MATOM=y | ||
7 | CONFIG_PRINTK=y | ||
8 | |||
9 | # Basic hardware support for the box - network, USB, PCI, sound | ||
10 | CONFIG_NETDEVICES=y | ||
11 | CONFIG_ATA=y | ||
12 | CONFIG_ATA_GENERIC=y | ||
13 | CONFIG_ATA_SFF=y | ||
14 | CONFIG_PCI=y | ||
15 | CONFIG_MMC=y | ||
16 | CONFIG_MMC_SDHCI=y | ||
17 | CONFIG_USB_SUPPORT=y | ||
18 | CONFIG_USB=y | ||
19 | CONFIG_USB_ARCH_HAS_EHCI=y | ||
20 | CONFIG_R8169=y | ||
21 | CONFIG_PATA_SCH=y | ||
22 | CONFIG_MMC_SDHCI_PCI=y | ||
23 | CONFIG_USB_EHCI_HCD=y | ||
24 | CONFIG_PCIEPORTBUS=y | ||
25 | CONFIG_NET=y | ||
26 | CONFIG_USB_UHCI_HCD=y | ||
27 | CONFIG_USB_OHCI_HCD=y | ||
28 | CONFIG_BLK_DEV_SD=y | ||
29 | CONFIG_CHR_DEV_SG=y | ||
30 | CONFIG_SOUND=y | ||
31 | CONFIG_SND=y | ||
32 | CONFIG_SND_HDA_INTEL=y | ||
33 | CONFIG_SATA_AHCI=y | ||
34 | CONFIG_AGP=y | ||
35 | CONFIG_PM=y | ||
36 | CONFIG_ACPI=y | ||
37 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | ||
38 | CONFIG_BACKLIGHT_CLASS_DEVICE=y | ||
39 | CONFIG_INPUT=y | ||
40 | |||
41 | # Make sure these are on, otherwise the bootup won't be fun | ||
42 | CONFIG_EXT3_FS=y | ||
43 | CONFIG_UNIX=y | ||
44 | CONFIG_INET=y | ||
45 | CONFIG_MODULES=y | ||
46 | CONFIG_SHMEM=y | ||
47 | CONFIG_TMPFS=y | ||
48 | CONFIG_PACKET=y | ||
49 | |||
50 | # Needed for booting (and using) USB memory sticks | ||
51 | CONFIG_BLK_DEV_LOOP=y | ||
52 | CONFIG_NLS_CODEPAGE_437=y | ||
53 | CONFIG_NLS_ISO8859_1=y | ||
54 | |||
55 | CONFIG_RD_GZIP=y | ||
56 | |||
57 | # Needed for booting (and using) CD images | ||
58 | CONFIG_BLK_DEV_SR=y | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.scc b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.scc deleted file mode 100644 index 3e4c54fcf5..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.scc +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.scc | ||
2 | kconf hardware {{=machine}}.cfg | ||
3 | |||
4 | include features/intel-e1xxxx/intel-e100.scc | ||
5 | include features/intel-e1xxxx/intel-e1xxxx.scc | ||
6 | |||
7 | {{ if xserver == "y" and xserver_choice == "xserver_i915" or xserver_choice == "xserver_i965": }} | ||
8 | include features/i915/i915.scc | ||
9 | |||
10 | include features/serial/8250.scc | ||
11 | include features/ericsson-3g/f5521gw.scc | ||
12 | |||
13 | {{ if xserver == "y" and xserver_choice == "xserver_vesa": }} | ||
14 | include cfg/vesafb.scc | ||
15 | |||
16 | include cfg/usb-mass-storage.scc | ||
17 | include cfg/boot-live.scc | ||
18 | include features/power/intel.scc | ||
19 | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/kernel-list.noinstall b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/kernel-list.noinstall deleted file mode 100644 index 917f0e2207..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/i386/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/i386/recipes-kernel/linux/linux-yocto-dev.bbappend b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto-dev.bbappend deleted file mode 100644 index 22ed273811..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/i386/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/i386/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend deleted file mode 100644 index bae943ea1e..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/i386/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/i386/recipes-kernel/linux/linux-yocto-tiny_4.12.bbappend b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.12.bbappend deleted file mode 100644 index 6f3e104c66..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/i386/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/i386/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend deleted file mode 100644 index 62d1817f22..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/i386/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/i386/recipes-kernel/linux/linux-yocto_4.10.bbappend b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.10.bbappend deleted file mode 100644 index f8616ed876..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/i386/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: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: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/i386/recipes-kernel/linux/linux-yocto_4.12.bbappend b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.12.bbappend deleted file mode 100644 index 20d57f673c..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/i386/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: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: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/i386/recipes-kernel/linux/linux-yocto_4.4.bbappend b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.4.bbappend deleted file mode 100644 index 0a9d475951..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/i386/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: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: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" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/layer/COPYING.MIT b/scripts/lib/bsp/substrate/target/arch/layer/COPYING.MIT deleted file mode 100644 index 89de354795..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/layer/COPYING.MIT +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
2 | of this software and associated documentation files (the "Software"), to deal | ||
3 | in the Software without restriction, including without limitation the rights | ||
4 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
5 | copies of the Software, and to permit persons to whom the Software is | ||
6 | furnished to do so, subject to the following conditions: | ||
7 | |||
8 | The above copyright notice and this permission notice shall be included in | ||
9 | all copies or substantial portions of the Software. | ||
10 | |||
11 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
12 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
13 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
14 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
15 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
16 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
17 | THE SOFTWARE. | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/layer/README b/scripts/lib/bsp/substrate/target/arch/layer/README deleted file mode 100644 index ca6527cd85..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/layer/README +++ /dev/null | |||
@@ -1,64 +0,0 @@ | |||
1 | This README file contains information on the contents of the | ||
2 | {{=layer_name}} layer. | ||
3 | |||
4 | Please see the corresponding sections below for details. | ||
5 | |||
6 | |||
7 | Dependencies | ||
8 | ============ | ||
9 | |||
10 | This layer depends on: | ||
11 | |||
12 | URI: git://git.openembedded.org/bitbake | ||
13 | branch: master | ||
14 | |||
15 | URI: git://git.openembedded.org/openembedded-core | ||
16 | layers: meta | ||
17 | branch: master | ||
18 | |||
19 | URI: git://git.yoctoproject.org/xxxx | ||
20 | layers: xxxx | ||
21 | branch: master | ||
22 | |||
23 | |||
24 | Patches | ||
25 | ======= | ||
26 | |||
27 | Please submit any patches against the {{=layer_name}} layer to the | ||
28 | xxxx mailing list (xxxx@zzzz.org) and cc: the maintainer: | ||
29 | |||
30 | Maintainer: XXX YYYYYY <xxx.yyyyyy@zzzzz.com> | ||
31 | |||
32 | |||
33 | Table of Contents | ||
34 | ================= | ||
35 | |||
36 | I. Adding the {{=layer_name}} layer to your build | ||
37 | II. Misc | ||
38 | |||
39 | |||
40 | I. Adding the {{=layer_name}} layer to your build | ||
41 | ================================================= | ||
42 | |||
43 | --- replace with specific instructions for the {{=layer_name}} layer --- | ||
44 | |||
45 | In order to use this layer, you need to make the build system aware of | ||
46 | it. | ||
47 | |||
48 | Assuming the {{=layer_name}} layer exists at the top-level of your | ||
49 | yocto build tree, you can add it to the build system by adding the | ||
50 | location of the {{=layer_name}} layer to bblayers.conf, along with any | ||
51 | other layers needed. e.g.: | ||
52 | |||
53 | BBLAYERS ?= " \ | ||
54 | /path/to/yocto/meta \ | ||
55 | /path/to/yocto/meta-poky \ | ||
56 | /path/to/yocto/meta-yocto-bsp \ | ||
57 | /path/to/yocto/meta-{{=layer_name}} \ | ||
58 | " | ||
59 | |||
60 | |||
61 | II. Misc | ||
62 | ======== | ||
63 | |||
64 | --- replace with specific information about the {{=layer_name}} layer --- | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/layer/conf/layer.conf b/scripts/lib/bsp/substrate/target/arch/layer/conf/layer.conf deleted file mode 100644 index bdffe17195..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/layer/conf/layer.conf +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | # We have a conf and classes directory, add to BBPATH | ||
2 | BBPATH .= ":${LAYERDIR}" | ||
3 | |||
4 | # We have recipes-* directories, add to BBFILES | ||
5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ | ||
6 | ${LAYERDIR}/recipes-*/*/*.bbappend" | ||
7 | |||
8 | BBFILE_COLLECTIONS += "{{=layer_name}}" | ||
9 | BBFILE_PATTERN_{{=layer_name}} = "^${LAYERDIR}/" | ||
10 | BBFILE_PRIORITY_{{=layer_name}} = "{{=layer_priority}}" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/layer/layer-questions.noinstall b/scripts/lib/bsp/substrate/target/arch/layer/layer-questions.noinstall deleted file mode 100644 index e2a89c3b5d..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/layer/layer-questions.noinstall +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | {{ input type:"edit" name:"layer_priority" prio:"20" msg:"Please enter the layer priority you'd like to use for the layer:" default:"6"}} | ||
2 | |||
3 | {{ input type:"boolean" name:"create_example_recipe" prio:"20" msg:"Would you like to have an example recipe created? (y/n)" default:"n"}} | ||
4 | |||
5 | {{ if create_example_recipe == "y": }} | ||
6 | {{ input type:"edit" name:"example_recipe_name" prio:"20" msg:"Please enter the name you'd like to use for your example recipe:" default:"example"}} | ||
7 | |||
8 | {{ input type:"boolean" name:"create_example_bbappend" prio:"20" msg:"Would you like to have an example bbappend file created? (y/n)" default:"n"}} | ||
9 | |||
10 | {{ if create_example_bbappend == "y": }} | ||
11 | {{ input type:"edit" name:"example_bbappend_name" prio:"20" msg:"Please enter the name you'd like to use for your bbappend file:" default:"example"}} | ||
12 | |||
13 | {{ if create_example_bbappend == "y": }} | ||
14 | {{ input type:"edit" name:"example_bbappend_version" prio:"20" msg:"Please enter the version number you'd like to use for your bbappend file (this should match the recipe you're appending to):" default:"0.1"}} | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/layer/recipes-example-bbappend.noinstall b/scripts/lib/bsp/substrate/target/arch/layer/recipes-example-bbappend.noinstall deleted file mode 100644 index 3594e6583c..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/layer/recipes-example-bbappend.noinstall +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-dirname {{ if create_example_bbappend == "y": }} recipes-example-bbappend | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/layer/recipes-example-bbappend/example-bbappend/example-bbappend-version.bbappend b/scripts/lib/bsp/substrate/target/arch/layer/recipes-example-bbappend/example-bbappend/example-bbappend-version.bbappend deleted file mode 100644 index 353133080a..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/layer/recipes-example-bbappend/example-bbappend/example-bbappend-version.bbappend +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=example_bbappend_name}}_{{=example_bbappend_version}}.bbappend | ||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" | ||
3 | |||
4 | # | ||
5 | # This .bbappend doesn't yet do anything - replace this text with | ||
6 | # modifications to the example_0.1.bb recipe, or whatever recipe it is | ||
7 | # that you want to modify with this .bbappend (make sure you change | ||
8 | # the recipe name (PN) and version (PV) to match). | ||
9 | # | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/layer/recipes-example-bbappend/example-bbappend/example-bbappend-version.noinstall b/scripts/lib/bsp/substrate/target/arch/layer/recipes-example-bbappend/example-bbappend/example-bbappend-version.noinstall deleted file mode 100644 index 46df8a8e04..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/layer/recipes-example-bbappend/example-bbappend/example-bbappend-version.noinstall +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-dirname {{=example_bbappend_name}}-{{=example_bbappend_version}} | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/layer/recipes-example-bbappend/example-bbappend/example-bbappend-version/example.patch b/scripts/lib/bsp/substrate/target/arch/layer/recipes-example-bbappend/example-bbappend/example-bbappend-version/example.patch deleted file mode 100644 index 2000a34da5..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/layer/recipes-example-bbappend/example-bbappend/example-bbappend-version/example.patch +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | # | ||
2 | # This is a non-functional placeholder file, here for example purposes | ||
3 | # only. | ||
4 | # | ||
5 | # If you had a patch for your recipe, you'd put it in this directory | ||
6 | # and reference it from your recipe's SRC_URI: | ||
7 | # | ||
8 | # SRC_URI += "file://example.patch" | ||
9 | # | ||
10 | # Note that you could also rename the directory containing this patch | ||
11 | # to remove the version number or simply rename it 'files'. Doing so | ||
12 | # allows you to use the same directory for multiple recipes. | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/layer/recipes-example.noinstall b/scripts/lib/bsp/substrate/target/arch/layer/recipes-example.noinstall deleted file mode 100644 index b0069b1a5a..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/layer/recipes-example.noinstall +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-dirname {{ if create_example_recipe == "y": }} recipes-example | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1.bb b/scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1.bb deleted file mode 100644 index e534d36d14..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1.bb +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=example_recipe_name}}_0.1.bb | ||
2 | # | ||
3 | # This file was derived from the 'Hello World!' example recipe in the | ||
4 | # Yocto Project Development Manual. | ||
5 | # | ||
6 | |||
7 | SUMMARY = "Simple helloworld application" | ||
8 | SECTION = "examples" | ||
9 | LICENSE = "MIT" | ||
10 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | ||
11 | |||
12 | SRC_URI = "file://helloworld.c" | ||
13 | |||
14 | S = "${WORKDIR}" | ||
15 | |||
16 | do_compile() { | ||
17 | ${CC} ${LDFLAGS} helloworld.c -o helloworld | ||
18 | } | ||
19 | |||
20 | do_install() { | ||
21 | install -d ${D}${bindir} | ||
22 | install -m 0755 helloworld ${D}${bindir} | ||
23 | } | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1.noinstall b/scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1.noinstall deleted file mode 100644 index c319c19c57..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1.noinstall +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-dirname {{=example_recipe_name}}-0.1 | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1/example.patch b/scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1/example.patch deleted file mode 100644 index 2000a34da5..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1/example.patch +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | # | ||
2 | # This is a non-functional placeholder file, here for example purposes | ||
3 | # only. | ||
4 | # | ||
5 | # If you had a patch for your recipe, you'd put it in this directory | ||
6 | # and reference it from your recipe's SRC_URI: | ||
7 | # | ||
8 | # SRC_URI += "file://example.patch" | ||
9 | # | ||
10 | # Note that you could also rename the directory containing this patch | ||
11 | # to remove the version number or simply rename it 'files'. Doing so | ||
12 | # allows you to use the same directory for multiple recipes. | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1/helloworld.c b/scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1/helloworld.c deleted file mode 100644 index 71f2e46b4e..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1/helloworld.c +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | #include <stdio.h> | ||
2 | |||
3 | int main(int argc, char **argv) | ||
4 | { | ||
5 | printf("Hello World!\n"); | ||
6 | |||
7 | return 0; | ||
8 | } | ||
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" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips64/.gitignore b/scripts/lib/bsp/substrate/target/arch/mips64/.gitignore deleted file mode 100644 index e69de29bb2..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips64/.gitignore +++ /dev/null | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips64/conf/machine/machine.conf b/scripts/lib/bsp/substrate/target/arch/mips64/conf/machine/machine.conf deleted file mode 100644 index a8eea2cde2..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips64/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-mips64.inc | ||
8 | |||
9 | MACHINE_FEATURES = "pci 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/mips64/recipes-kernel/linux/files.noinstall b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files.noinstall deleted file mode 100644 index 1e0d92c55c..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips64/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/mips64/recipes-kernel/linux/files/machine-preempt-rt.scc b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-preempt-rt.scc deleted file mode 100644 index a128255b38..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips64/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/mips64/recipes-kernel/linux/files/machine-standard.scc b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-standard.scc deleted file mode 100644 index b34f3d3522..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips64/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/mips64/recipes-kernel/linux/files/machine-tiny.scc b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-tiny.scc deleted file mode 100644 index 64f395bbc4..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips64/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/mips64/recipes-kernel/linux/files/machine-user-config.cfg b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-user-config.cfg deleted file mode 100644 index 69efdcc759..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-user-config.cfg +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-user-config.cfg \ No newline at end of file | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-user-features.scc b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-user-features.scc deleted file mode 100644 index 85be26de97..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips64/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/mips64/recipes-kernel/linux/files/machine-user-patches.scc b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-user-patches.scc deleted file mode 100644 index 4c59daac46..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-user-patches.scc +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-user-patches.scc \ No newline at end of file | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine.cfg b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine.cfg deleted file mode 100644 index 0cc906bbf0..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine.cfg +++ /dev/null | |||
@@ -1,66 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.cfg | ||
2 | #SOC | ||
3 | CONFIG_CAVIUM_OCTEON_SOC=y | ||
4 | CONFIG_CAVIUM_CN63XXP1=y | ||
5 | CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE=2 | ||
6 | |||
7 | #Kernel | ||
8 | CONFIG_SMP=y | ||
9 | CONFIG_NR_CPUS=32 | ||
10 | #Executable file formats | ||
11 | CONFIG_MIPS32_COMPAT=y | ||
12 | CONFIG_MIPS32_O32=y | ||
13 | CONFIG_MIPS32_N32=y | ||
14 | |||
15 | |||
16 | #PCI | ||
17 | CONFIG_PCI=y | ||
18 | CONFIG_PCI_MSI=y | ||
19 | |||
20 | #I2C | ||
21 | CONFIG_I2C=y | ||
22 | CONFIG_I2C_OCTEON=y | ||
23 | |||
24 | CONFIG_HW_RANDOM_OCTEON=y | ||
25 | |||
26 | #SPI | ||
27 | CONFIG_SPI=y | ||
28 | CONFIG_SPI_OCTEON=y | ||
29 | |||
30 | #Misc | ||
31 | CONFIG_EEPROM_AT24=y | ||
32 | CONFIG_EEPROM_AT25=y | ||
33 | CONFIG_OCTEON_WDT=y | ||
34 | |||
35 | CONFIG_STAGING=y | ||
36 | |||
37 | #Ethernet | ||
38 | CONFIG_OCTEON_ETHERNET=y | ||
39 | CONFIG_OCTEON_MGMT_ETHERNET=y | ||
40 | CONFIG_MDIO_OCTEON=y | ||
41 | |||
42 | #PHY | ||
43 | CONFIG_MARVELL_PHY=y | ||
44 | CONFIG_BROADCOM_PHY=y | ||
45 | CONFIG_BCM87XX_PHY=y | ||
46 | |||
47 | |||
48 | #USB | ||
49 | CONFIG_USB=y | ||
50 | CONFIG_OCTEON_USB=y | ||
51 | CONFIG_USB_OCTEON_EHCI=y | ||
52 | CONFIG_USB_OCTEON_OHCI=y | ||
53 | CONFIG_USB_OCTEON2_COMMON=y | ||
54 | |||
55 | CONFIG_MTD=y | ||
56 | CONFIG_MTD_BLOCK=y | ||
57 | CONFIG_MTD_CFI=y | ||
58 | CONFIG_MTD_CFI_AMDSTD=y | ||
59 | CONFIG_MTD_CMDLINE_PARTS=y | ||
60 | |||
61 | CONFIG_SERIAL_8250=y | ||
62 | CONFIG_SERIAL_8250_CONSOLE=y | ||
63 | CONFIG_SERIAL_8250_NR_UARTS=2 | ||
64 | CONFIG_SERIAL_8250_RUNTIME_UARTS=2 | ||
65 | CONFIG_SERIAL_8250_DW=y | ||
66 | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine.scc b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine.scc deleted file mode 100644 index 792fdc94a4..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips64/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/mips64/recipes-kernel/linux/kernel-list.noinstall b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/kernel-list.noinstall deleted file mode 100644 index 917f0e2207..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips64/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/mips64/recipes-kernel/linux/linux-yocto-dev.bbappend b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto-dev.bbappend deleted file mode 100644 index 22ed273811..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips64/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/mips64/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend deleted file mode 100644 index bae943ea1e..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips64/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/mips64/recipes-kernel/linux/linux-yocto-tiny_4.12.bbappend b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.12.bbappend deleted file mode 100644 index 6f3e104c66..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips64/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/mips64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend deleted file mode 100644 index 62d1817f22..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips64/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/mips64/recipes-kernel/linux/linux-yocto_4.10.bbappend b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto_4.10.bbappend deleted file mode 100644 index 336a956310..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips64/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/edgerouter" }} | ||
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/edgerouter" }} | ||
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/mips64/recipes-kernel/linux/linux-yocto_4.12.bbappend b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto_4.12.bbappend deleted file mode 100644 index 5333c30b85..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips64/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/edgerouter" }} | ||
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/edgerouter" }} | ||
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/mips64/recipes-kernel/linux/linux-yocto_4.4.bbappend b/scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto_4.4.bbappend deleted file mode 100644 index 7d18566b2f..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/mips64/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/edgerouter" }} | ||
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/edgerouter" }} | ||
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" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/.gitignore b/scripts/lib/bsp/substrate/target/arch/powerpc/.gitignore deleted file mode 100644 index e69de29bb2..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/powerpc/.gitignore +++ /dev/null | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/machine.conf b/scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/machine.conf deleted file mode 100644 index 352b97231d..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/machine.conf +++ /dev/null | |||
@@ -1,86 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.conf | ||
2 | #@TYPE: Machine | ||
3 | #@NAME: {{=machine}} | ||
4 | |||
5 | #@DESCRIPTION: Machine configuration for {{=machine}} systems | ||
6 | |||
7 | TARGET_FPU = "" | ||
8 | |||
9 | {{ input type:"choicelist" name:"tunefile" prio:"40" msg:"Which machine tuning would you like to use?" default:"tune_ppce300c3" }} | ||
10 | {{ input type:"choice" val:"tune_ppc476" msg:"ppc476 tuning optimizations" }} | ||
11 | {{ input type:"choice" val:"tune_ppc603e" msg:"ppc603e tuning optimizations" }} | ||
12 | {{ input type:"choice" val:"tune_ppc7400" msg:"ppc7400 tuning optimizations" }} | ||
13 | {{ input type:"choice" val:"tune_ppce300c2" msg:"ppce300c2 tuning optimizations" }} | ||
14 | {{ input type:"choice" val:"tune_ppce300c3" msg:"ppce300c3 tuning optimizations" }} | ||
15 | {{ input type:"choice" val:"tune_ppce500" msg:"ppce500 tuning optimizations" }} | ||
16 | {{ input type:"choice" val:"tune_ppce500mc" msg:"ppce500mc tuning optimizations" }} | ||
17 | {{ input type:"choice" val:"tune_ppce500v2" msg:"ppce500v2 tuning optimizations" }} | ||
18 | {{ input type:"choice" val:"tune_ppce5500" msg:"ppce5500 tuning optimizations" }} | ||
19 | {{ input type:"choice" val:"tune_ppce6500" msg:"ppce6500 tuning optimizations" }} | ||
20 | {{ input type:"choice" val:"tune_power5" msg:"power5 tuning optimizations" }} | ||
21 | {{ input type:"choice" val:"tune_power6" msg:"power6 tuning optimizations" }} | ||
22 | {{ input type:"choice" val:"tune_power7" msg:"power7 tuning optimizations" }} | ||
23 | {{ if tunefile == "tune_ppc476": }} | ||
24 | include conf/machine/include/tune-ppc476.inc | ||
25 | {{ if tunefile == "tune_ppc603e": }} | ||
26 | include conf/machine/include/tune-ppc603e.inc | ||
27 | {{ if tunefile == "tune_ppc7400": }} | ||
28 | include conf/machine/include/tune-ppc7400.inc | ||
29 | {{ if tunefile == "tune_ppce300c2": }} | ||
30 | include conf/machine/include/tune-ppce300c2.inc | ||
31 | {{ if tunefile == "tune_ppce300c3": }} | ||
32 | include conf/machine/include/tune-ppce300c3.inc | ||
33 | {{ if tunefile == "tune_ppce500": }} | ||
34 | include conf/machine/include/tune-ppce500.inc | ||
35 | {{ if tunefile == "tune_ppce500mc": }} | ||
36 | include conf/machine/include/tune-ppce500mc.inc | ||
37 | {{ if tunefile == "tune_ppce500v2": }} | ||
38 | include conf/machine/include/tune-ppce500v2.inc | ||
39 | {{ if tunefile == "tune_ppce5500": }} | ||
40 | include conf/machine/include/tune-ppce5500.inc | ||
41 | {{ if tunefile == "tune_ppce6500": }} | ||
42 | include conf/machine/include/tune-ppce6500.inc | ||
43 | {{ if tunefile == "tune_power5": }} | ||
44 | include conf/machine/include/tune-power5.inc | ||
45 | {{ if tunefile == "tune_power6": }} | ||
46 | include conf/machine/include/tune-power6.inc | ||
47 | {{ if tunefile == "tune_power7": }} | ||
48 | include conf/machine/include/tune-power7.inc | ||
49 | |||
50 | KERNEL_IMAGETYPE = "uImage" | ||
51 | |||
52 | EXTRA_IMAGEDEPENDS += "u-boot" | ||
53 | UBOOT_MACHINE_{{=machine}} = "MPC8315ERDB_config" | ||
54 | |||
55 | SERIAL_CONSOLE = "115200 ttyS0" | ||
56 | |||
57 | MACHINE_FEATURES = "keyboard pci ext2 ext3 serial" | ||
58 | |||
59 | {{ if kernel_choice == "custom": preferred_kernel = "linux-yocto-custom" }} | ||
60 | {{ if kernel_choice == "linux-yocto-dev": preferred_kernel = "linux-yocto-dev" }} | ||
61 | {{ if kernel_choice == "custom" or kernel_choice == "linux-yocto-dev" : }} | ||
62 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
63 | |||
64 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel = kernel_choice.split('_')[0] }} | ||
65 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel_version = kernel_choice.split('_')[1] }} | ||
66 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": }} | ||
67 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
68 | PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" | ||
69 | |||
70 | {{ input type:"boolean" name:"xserver" prio:"50" msg:"Do you need support for X? (y/n)" default:"y" }} | ||
71 | {{ if xserver == "y": }} | ||
72 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" | ||
73 | XSERVER ?= "xserver-xorg \ | ||
74 | xf86-video-fbdev" | ||
75 | |||
76 | PREFERRED_VERSION_u-boot ?= "v2016.01%" | ||
77 | {{ input type:"edit" name:"uboot_entrypoint" prio:"40" msg:"Please specify a value for UBOOT_ENTRYPOINT:" default:"0x00000000" }} | ||
78 | UBOOT_ENTRYPOINT = "{{=uboot_entrypoint}}" | ||
79 | |||
80 | {{ input type:"edit" name:"kernel_devicetree" prio:"40" msg:"Please specify a [arch/powerpc/boot/dts/xxx] value for KERNEL_DEVICETREE:" default:"mpc8315erdb.dts" }} | ||
81 | KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/{{=kernel_devicetree}}" | ||
82 | |||
83 | MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" | ||
84 | |||
85 | IMAGE_FSTYPES ?= "jffs2 tar.bz2" | ||
86 | JFFS2_ERASEBLOCK = "0x4000" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files.noinstall b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files.noinstall deleted file mode 100644 index 1e0d92c55c..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/powerpc/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/powerpc/recipes-kernel/linux/files/machine-preempt-rt.scc b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-preempt-rt.scc deleted file mode 100644 index 91ccfb8302..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/powerpc/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 powerpc | ||
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/powerpc/recipes-kernel/linux/files/machine-standard.scc b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-standard.scc deleted file mode 100644 index c166fcd3d9..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/powerpc/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 powerpc | ||
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/powerpc/recipes-kernel/linux/files/machine-tiny.scc b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-tiny.scc deleted file mode 100644 index 2701fd8b50..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/powerpc/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 powerpc | ||
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/powerpc/recipes-kernel/linux/files/machine-user-config.cfg b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-user-config.cfg deleted file mode 100644 index 47489e44e9..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/powerpc/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/powerpc/recipes-kernel/linux/files/machine-user-features.scc b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-user-features.scc deleted file mode 100644 index 582759e612..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-user-features.scc +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-user-features.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-user-patches.scc b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-user-patches.scc deleted file mode 100644 index 97f747fa07..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/powerpc/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/powerpc/recipes-kernel/linux/files/machine.cfg b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine.cfg deleted file mode 100644 index 5bfe1fe4b0..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine.cfg +++ /dev/null | |||
@@ -1,164 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.cfg | ||
2 | .......................................................................... | ||
3 | . WARNING | ||
4 | . | ||
5 | . This file is a kernel configuration fragment, and not a full kernel | ||
6 | . configuration file. The final kernel configuration is made up of | ||
7 | . an assembly of processed fragments, each of which is designed to | ||
8 | . capture a specific part of the final configuration (e.g. platform | ||
9 | . configuration, feature configuration, and board specific hardware | ||
10 | . configuration). For more information on kernel configuration, please | ||
11 | . consult the product documentation. | ||
12 | . | ||
13 | .......................................................................... | ||
14 | CONFIG_PPC32=y | ||
15 | CONFIG_PPC_OF=y | ||
16 | CONFIG_PPC_UDBG_16550=y | ||
17 | |||
18 | # | ||
19 | # Processor support | ||
20 | # | ||
21 | CONFIG_PPC_83xx=y | ||
22 | |||
23 | # | ||
24 | # Platform support | ||
25 | # | ||
26 | CONFIG_MPC831x_RDB=y | ||
27 | # CONFIG_PPC_CHRP is not set | ||
28 | # CONFIG_PPC_PMAC is not set | ||
29 | |||
30 | # | ||
31 | # Bus options | ||
32 | # | ||
33 | CONFIG_PCI=y | ||
34 | |||
35 | # | ||
36 | # Memory Technology Devices (MTD) | ||
37 | # | ||
38 | CONFIG_MTD=y | ||
39 | CONFIG_MTD_PARTITIONS=y | ||
40 | CONFIG_MTD_CMDLINE_PARTS=y | ||
41 | CONFIG_MTD_OF_PARTS=y | ||
42 | |||
43 | # | ||
44 | # User Modules And Translation Layers | ||
45 | # | ||
46 | CONFIG_MTD_CHAR=y | ||
47 | CONFIG_MTD_BLOCK=y | ||
48 | |||
49 | # | ||
50 | # RAM/ROM/Flash chip drivers | ||
51 | # | ||
52 | CONFIG_MTD_CFI=y | ||
53 | CONFIG_MTD_CFI_AMDSTD=y | ||
54 | |||
55 | # | ||
56 | # Mapping drivers for chip access | ||
57 | # | ||
58 | CONFIG_MTD_PHYSMAP_OF=y | ||
59 | |||
60 | # | ||
61 | # NAND Flash Device Drivers | ||
62 | # | ||
63 | CONFIG_MTD_NAND=y | ||
64 | |||
65 | # | ||
66 | # Ethernet (1000 Mbit) | ||
67 | # | ||
68 | CONFIG_GIANFAR=y | ||
69 | |||
70 | # | ||
71 | # Serial drivers | ||
72 | # | ||
73 | CONFIG_SERIAL_8250=y | ||
74 | CONFIG_SERIAL_8250_CONSOLE=y | ||
75 | CONFIG_SERIAL_8250_NR_UARTS=2 | ||
76 | |||
77 | # | ||
78 | # Watchdog Device Drivers | ||
79 | # | ||
80 | CONFIG_8xxx_WDT=y | ||
81 | |||
82 | # | ||
83 | # I2C support | ||
84 | # | ||
85 | CONFIG_I2C=y | ||
86 | CONFIG_I2C_CHARDEV=y | ||
87 | |||
88 | # | ||
89 | # I2C Hardware Bus support | ||
90 | # | ||
91 | CONFIG_I2C_MPC=y | ||
92 | |||
93 | CONFIG_SENSORS_LM75=y | ||
94 | |||
95 | CONFIG_MISC_DEVICES=y | ||
96 | |||
97 | # | ||
98 | # Miscellaneous I2C Chip support | ||
99 | # | ||
100 | CONFIG_EEPROM_AT24=y | ||
101 | |||
102 | # | ||
103 | # SPI support | ||
104 | # | ||
105 | CONFIG_SPI=y | ||
106 | # CONFIG_SPI_DEBUG is not set | ||
107 | CONFIG_SPI_MASTER=y | ||
108 | |||
109 | # | ||
110 | # SPI Master Controller Drivers | ||
111 | # | ||
112 | CONFIG_SPI_MPC8xxx=y | ||
113 | |||
114 | # | ||
115 | # SPI Protocol Masters | ||
116 | # | ||
117 | CONFIG_HWMON=y | ||
118 | |||
119 | # | ||
120 | # SCSI device support | ||
121 | # | ||
122 | CONFIG_SCSI=y | ||
123 | CONFIG_BLK_DEV_SD=y | ||
124 | CONFIG_CHR_DEV_SG=y | ||
125 | CONFIG_SCSI_LOGGING=y | ||
126 | |||
127 | CONFIG_ATA=y | ||
128 | CONFIG_ATA_VERBOSE_ERROR=y | ||
129 | CONFIG_SATA_FSL=y | ||
130 | CONFIG_ATA_SFF=y | ||
131 | |||
132 | # | ||
133 | # USB support | ||
134 | # | ||
135 | CONFIG_USB=m | ||
136 | CONFIG_USB_DEVICEFS=y | ||
137 | |||
138 | # | ||
139 | # USB Host Controller Drivers | ||
140 | # | ||
141 | CONFIG_USB_EHCI_HCD=m | ||
142 | CONFIG_USB_EHCI_FSL=y | ||
143 | CONFIG_USB_STORAGE=m | ||
144 | |||
145 | # | ||
146 | # Real Time Clock | ||
147 | # | ||
148 | CONFIG_RTC_CLASS=y | ||
149 | |||
150 | # | ||
151 | # I2C RTC drivers | ||
152 | # | ||
153 | CONFIG_RTC_DRV_DS1307=y | ||
154 | |||
155 | CONFIG_KGDB_8250=m | ||
156 | |||
157 | CONFIG_CRYPTO_DEV_TALITOS=m | ||
158 | |||
159 | CONFIG_FSL_DMA=y | ||
160 | |||
161 | CONFIG_MMC=y | ||
162 | CONFIG_MMC_SPI=m | ||
163 | |||
164 | CONFIG_USB_FSL_MPH_DR_OF=y | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine.scc b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine.scc deleted file mode 100644 index 89bb97efd6..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine.scc +++ /dev/null | |||
@@ -1,8 +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 | |||
7 | include cfg/dmaengine.scc | ||
8 | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/kernel-list.noinstall b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/kernel-list.noinstall deleted file mode 100644 index 917f0e2207..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/powerpc/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/powerpc/recipes-kernel/linux/linux-yocto-dev.bbappend b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto-dev.bbappend deleted file mode 100644 index 22ed273811..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/powerpc/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/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend deleted file mode 100644 index bae943ea1e..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/powerpc/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/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.12.bbappend b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.12.bbappend deleted file mode 100644 index 6f3e104c66..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/powerpc/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/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend deleted file mode 100644 index 62d1817f22..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/powerpc/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/powerpc/recipes-kernel/linux/linux-yocto_4.10.bbappend b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.10.bbappend deleted file mode 100644 index dfbecb5337..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/powerpc/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/powerpc/recipes-kernel/linux/linux-yocto_4.12.bbappend b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.12.bbappend deleted file mode 100644 index e874c9e45f..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/powerpc/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/powerpc/recipes-kernel/linux/linux-yocto_4.4.bbappend b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.4.bbappend deleted file mode 100644 index a809c7600a..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/powerpc/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" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/machine.conf b/scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/machine.conf deleted file mode 100644 index 91888581e7..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/machine.conf +++ /dev/null | |||
@@ -1,71 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.conf | ||
2 | #@TYPE: Machine | ||
3 | #@NAME: {{=machine}} | ||
4 | |||
5 | #@DESCRIPTION: Machine configuration for {{=machine}} systems | ||
6 | |||
7 | {{ if kernel_choice == "custom": preferred_kernel = "linux-yocto-custom" }} | ||
8 | {{ if kernel_choice == "linux-yocto-dev": preferred_kernel = "linux-yocto-dev" }} | ||
9 | {{ if kernel_choice == "custom" or kernel_choice == "linux-yocto-dev" : }} | ||
10 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
11 | |||
12 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel = kernel_choice.split('_')[0] }} | ||
13 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel_version = kernel_choice.split('_')[1] }} | ||
14 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": }} | ||
15 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
16 | PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" | ||
17 | |||
18 | {{ if qemuarch == "i386" or qemuarch == "x86_64": }} | ||
19 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" | ||
20 | PREFERRED_PROVIDER_virtual/libgl ?= "mesa" | ||
21 | PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa" | ||
22 | PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa" | ||
23 | |||
24 | {{ input type:"choicelist" name:"qemuarch" prio:"5" msg:"Which qemu architecture would you like to use?" default:"i386" }} | ||
25 | {{ input type:"choice" val:"i386" msg:"i386 (32-bit)" }} | ||
26 | {{ input type:"choice" val:"x86_64" msg:"x86_64 (64-bit)" }} | ||
27 | {{ input type:"choice" val:"arm" msg:"ARM (32-bit)" }} | ||
28 | {{ input type:"choice" val:"powerpc" msg:"PowerPC (32-bit)" }} | ||
29 | {{ input type:"choice" val:"mips" msg:"MIPS (32-bit)" }} | ||
30 | {{ input type:"choice" val:"mips64" msg:"MIPS64 (64-bit)" }} | ||
31 | {{ if qemuarch == "i386": }} | ||
32 | require conf/machine/include/qemu.inc | ||
33 | require conf/machine/include/tune-i586.inc | ||
34 | {{ if qemuarch == "x86_64": }} | ||
35 | require conf/machine/include/qemu.inc | ||
36 | DEFAULTTUNE ?= "core2-64" | ||
37 | require conf/machine/include/tune-core2.inc | ||
38 | {{ if qemuarch == "arm": }} | ||
39 | require conf/machine/include/qemu.inc | ||
40 | require conf/machine/include/tune-arm926ejs.inc | ||
41 | {{ if qemuarch == "powerpc": }} | ||
42 | require conf/machine/include/qemu.inc | ||
43 | require conf/machine/include/tune-ppc7400.inc | ||
44 | {{ if qemuarch == "mips": }} | ||
45 | require conf/machine/include/qemu.inc | ||
46 | require conf/machine/include/tune-mips32.inc | ||
47 | {{ if qemuarch == "mips64": }} | ||
48 | require conf/machine/include/qemu.inc | ||
49 | require conf/machine/include/tune-mips64.inc | ||
50 | |||
51 | {{ if qemuarch == "i386" or qemuarch == "x86_64": }} | ||
52 | MACHINE_FEATURES += "x86" | ||
53 | KERNEL_IMAGETYPE = "bzImage" | ||
54 | SERIAL_CONSOLE = "115200 ttyS0" | ||
55 | XSERVER = "xserver-xorg \ | ||
56 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast', '', d)} \ | ||
57 | xf86-video-vmware" | ||
58 | |||
59 | {{ if qemuarch == "arm": }} | ||
60 | KERNEL_IMAGETYPE = "zImage" | ||
61 | SERIAL_CONSOLE = "115200 ttyAMA0" | ||
62 | |||
63 | {{ if qemuarch == "powerpc": }} | ||
64 | KERNEL_IMAGETYPE = "vmlinux" | ||
65 | SERIAL_CONSOLE = "115200 ttyS0" | ||
66 | |||
67 | {{ if qemuarch == "mips" or qemuarch == "mips64": }} | ||
68 | KERNEL_IMAGETYPE = "vmlinux" | ||
69 | KERNEL_ALT_IMAGETYPE = "vmlinux.bin" | ||
70 | SERIAL_CONSOLE = "115200 ttyS0" | ||
71 | MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-core/init-ifupdown/init-ifupdown/machine.noinstall b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-core/init-ifupdown/init-ifupdown/machine.noinstall deleted file mode 100644 index b442d02d57..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-core/init-ifupdown/init-ifupdown/machine.noinstall +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-dirname {{=machine}} | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-core/init-ifupdown/init-ifupdown/machine/interfaces b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-core/init-ifupdown/init-ifupdown/machine/interfaces deleted file mode 100644 index 16967763e5..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-core/init-ifupdown/init-ifupdown/machine/interfaces +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) | ||
2 | |||
3 | # The loopback interface | ||
4 | auto lo | ||
5 | iface lo inet loopback | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend deleted file mode 100644 index 72d991c7e5..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-graphics/xorg-xserver/xserver-xf86-config/machine.noinstall b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-graphics/xorg-xserver/xserver-xf86-config/machine.noinstall deleted file mode 100644 index b442d02d57..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-graphics/xorg-xserver/xserver-xf86-config/machine.noinstall +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-dirname {{=machine}} | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-graphics/xorg-xserver/xserver-xf86-config/machine/xorg.conf b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-graphics/xorg-xserver/xserver-xf86-config/machine/xorg.conf deleted file mode 100644 index 3bdde79e6f..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-graphics/xorg-xserver/xserver-xf86-config/machine/xorg.conf +++ /dev/null | |||
@@ -1,77 +0,0 @@ | |||
1 | |||
2 | Section "Files" | ||
3 | EndSection | ||
4 | |||
5 | Section "InputDevice" | ||
6 | Identifier "Generic Keyboard" | ||
7 | Driver "evdev" | ||
8 | Option "CoreKeyboard" | ||
9 | Option "Device" "/dev/input/by-path/platform-i8042-serio-0-event-kbd" | ||
10 | Option "XkbRules" "xorg" | ||
11 | Option "XkbModel" "evdev" | ||
12 | Option "XkbLayout" "us" | ||
13 | EndSection | ||
14 | |||
15 | Section "InputDevice" | ||
16 | Identifier "Configured Mouse" | ||
17 | {{ if qemuarch == "arm" or qemuarch == "powerpc" or qemuarch == "mips" or qemuarch == "mips64": }} | ||
18 | Driver "mouse" | ||
19 | {{ if qemuarch == "i386" or qemuarch == "x86_64": }} | ||
20 | Driver "vmmouse" | ||
21 | |||
22 | Option "CorePointer" | ||
23 | Option "Device" "/dev/input/mice" | ||
24 | Option "Protocol" "ImPS/2" | ||
25 | Option "ZAxisMapping" "4 5" | ||
26 | Option "Emulate3Buttons" "true" | ||
27 | EndSection | ||
28 | |||
29 | Section "InputDevice" | ||
30 | Identifier "Qemu Tablet" | ||
31 | Driver "evdev" | ||
32 | Option "CorePointer" | ||
33 | Option "Device" "/dev/input/touchscreen0" | ||
34 | Option "USB" "on" | ||
35 | EndSection | ||
36 | |||
37 | Section "Device" | ||
38 | Identifier "Graphics Controller" | ||
39 | {{ if qemuarch == "arm" or qemuarch == "powerpc" or qemuarch == "mips" or qemuarch == "mips64": }} | ||
40 | Driver "fbdev" | ||
41 | {{ if qemuarch == "i386" or qemuarch == "x86_64": }} | ||
42 | Driver "vmware" | ||
43 | |||
44 | EndSection | ||
45 | |||
46 | Section "Monitor" | ||
47 | Identifier "Generic Monitor" | ||
48 | Option "DPMS" | ||
49 | # 1024x600 59.85 Hz (CVT) hsync: 37.35 kHz; pclk: 49.00 MHz | ||
50 | Modeline "1024x600_60.00" 49.00 1024 1072 1168 1312 600 603 613 624 -hsync +vsync | ||
51 | # 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz | ||
52 | ModeLine "640x480" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync | ||
53 | # 640x480 @ 72Hz (VESA) hsync: 37.9kHz | ||
54 | ModeLine "640x480" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync | ||
55 | # 640x480 @ 75Hz (VESA) hsync: 37.5kHz | ||
56 | ModeLine "640x480" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync | ||
57 | # 640x480 @ 85Hz (VESA) hsync: 43.3kHz | ||
58 | ModeLine "640x480" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync | ||
59 | EndSection | ||
60 | |||
61 | Section "Screen" | ||
62 | Identifier "Default Screen" | ||
63 | Device "Graphics Controller" | ||
64 | Monitor "Generic Monitor" | ||
65 | SubSection "Display" | ||
66 | Modes "640x480" | ||
67 | EndSubSection | ||
68 | EndSection | ||
69 | |||
70 | Section "ServerLayout" | ||
71 | Identifier "Default Layout" | ||
72 | Screen "Default Screen" | ||
73 | InputDevice "Generic Keyboard" | ||
74 | # InputDevice "Configured Mouse" | ||
75 | InputDevice "QEMU Tablet" | ||
76 | Option "AllowEmptyInput" "no" | ||
77 | EndSection | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend deleted file mode 100644 index 72d991c7e5..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files.noinstall b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files.noinstall deleted file mode 100644 index 0fb5283a8d..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files.noinstall +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-dirname {{ if kernel_choice != "custom": }} files \ No newline at end of file | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine-preempt-rt.scc b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine-preempt-rt.scc deleted file mode 100644 index a81b858c03..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/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 {{=qemuarch}} | ||
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/qemu/recipes-kernel/linux/files/machine-standard.scc b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine-standard.scc deleted file mode 100644 index 43cf642d49..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine-standard.scc +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-standard.scc | ||
2 | define KMACHINE {{=machine}} | ||
3 | |||
4 | define KARCH {{=qemuarch}} | ||
5 | |||
6 | {{ if qemuarch == "i386" or qemuarch == "x86_64": }} | ||
7 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} nopatch | ||
8 | {{ if qemuarch == "arm": }} | ||
9 | include bsp/arm-versatile-926ejs/arm-versatile-926ejs-standard nopatch | ||
10 | {{ if qemuarch == "powerpc": }} | ||
11 | include bsp/qemu-ppc32/qemu-ppc32-standard nopatch | ||
12 | {{ if qemuarch == "mips": }} | ||
13 | include bsp/mti-malta32/mti-malta32-be-standard nopatch | ||
14 | {{ if qemuarch == "mips64": }} | ||
15 | include bsp/mti-malta64/mti-malta64-be-standard nopatch | ||
16 | {{ if need_new_kbranch == "y": }} | ||
17 | define KTYPE {{=new_kbranch}} | ||
18 | branch {{=machine}} | ||
19 | |||
20 | include {{=machine}}.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine-tiny.scc b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine-tiny.scc deleted file mode 100644 index 41d4c6f40f..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/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 {{=qemuarch}} | ||
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/qemu/recipes-kernel/linux/files/machine-user-config.cfg b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine-user-config.cfg deleted file mode 100644 index 69efdcc759..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine-user-config.cfg +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-user-config.cfg \ No newline at end of file | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine-user-features.scc b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine-user-features.scc deleted file mode 100644 index 582759e612..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine-user-features.scc +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-user-features.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine-user-patches.scc b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine-user-patches.scc deleted file mode 100644 index 4c59daac46..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine-user-patches.scc +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-user-patches.scc \ No newline at end of file | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine.cfg b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine.cfg deleted file mode 100644 index 3fa4ed0b7f..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine.cfg +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.cfg | ||
2 | {{ if qemuarch == "i386": }} | ||
3 | # CONFIG_64BIT is not set | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine.scc b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine.scc deleted file mode 100644 index d25d0a0377..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine.scc +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.scc | ||
2 | kconf hardware {{=machine}}.cfg | ||
3 | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/kernel-list.noinstall b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/kernel-list.noinstall deleted file mode 100644 index 917f0e2207..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/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/qemu/recipes-kernel/linux/linux-yocto-dev.bbappend b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-dev.bbappend deleted file mode 100644 index d7b9cef98b..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-dev.bbappend +++ /dev/null | |||
@@ -1,59 +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" and qemuarch == "arm": }} | ||
10 | {{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base your new BSP branch on:" default:"standard/base" }} | ||
11 | |||
12 | {{ if need_new_kbranch == "n" and qemuarch == "arm": }} | ||
13 | {{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose an existing machine branch to use for this BSP:" default:"standard/arm-versatile-926ejs" }} | ||
14 | |||
15 | {{ if need_new_kbranch == "y" and qemuarch == "powerpc": }} | ||
16 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"powerpc" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
17 | |||
18 | {{ if need_new_kbranch == "n" and qemuarch == "powerpc": }} | ||
19 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"powerpc" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/qemuppc" }} | ||
20 | |||
21 | {{ if need_new_kbranch == "y" and qemuarch == "i386": }} | ||
22 | {{ 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" }} | ||
23 | |||
24 | {{ if need_new_kbranch == "n" and qemuarch == "i386": }} | ||
25 | {{ 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" }} | ||
26 | |||
27 | {{ if need_new_kbranch == "y" and qemuarch == "x86_64": }} | ||
28 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"x86_64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
29 | |||
30 | {{ if need_new_kbranch == "n" and qemuarch == "x86_64": }} | ||
31 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"x86_64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
32 | |||
33 | {{ if need_new_kbranch == "y" and qemuarch == "mips": }} | ||
34 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
35 | |||
36 | {{ 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" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/mti-malta32" }} | ||
38 | |||
39 | {{ if need_new_kbranch == "y" and qemuarch == "mips64": }} | ||
40 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
41 | |||
42 | {{ if need_new_kbranch == "n" and qemuarch == "mips64": }} | ||
43 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/mti-malta64" }} | ||
44 | |||
45 | {{ if need_new_kbranch == "n": }} | ||
46 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
47 | |||
48 | {{ if qemuarch != "arm": }} | ||
49 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Would you like SMP support? (y/n)" default:"y"}} | ||
50 | {{ if smp == "y": }} | ||
51 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
52 | |||
53 | SRC_URI += "file://{{=machine}}.scc \ | ||
54 | file://{{=machine}}.cfg \ | ||
55 | file://{{=machine}}-standard.scc \ | ||
56 | file://{{=machine}}-user-config.cfg \ | ||
57 | file://{{=machine}}-user-features.scc \ | ||
58 | file://{{=machine}}-user-patches.scc \ | ||
59 | " | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend deleted file mode 100644 index 8c0fd1577c..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend +++ /dev/null | |||
@@ -1,67 +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 | {{ 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" and qemuarch == "arm": }} | ||
10 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"arm" 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" }} | ||
11 | |||
12 | {{ if need_new_kbranch == "n" and qemuarch == "arm": }} | ||
13 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"arm" 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" }} | ||
14 | |||
15 | {{ if need_new_kbranch == "y" and qemuarch == "powerpc": }} | ||
16 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"powerpc" 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" }} | ||
17 | |||
18 | {{ if need_new_kbranch == "n" and qemuarch == "powerpc": }} | ||
19 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"powerpc" 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" }} | ||
20 | |||
21 | {{ if need_new_kbranch == "y" and qemuarch == "i386": }} | ||
22 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"i386" 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" }} | ||
23 | |||
24 | {{ if need_new_kbranch == "n" and qemuarch == "i386": }} | ||
25 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"i386" 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/common-pc" }} | ||
26 | |||
27 | {{ if need_new_kbranch == "y" and qemuarch == "x86_64": }} | ||
28 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"x86_64" 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" }} | ||
29 | |||
30 | {{ if need_new_kbranch == "n" and qemuarch == "x86_64": }} | ||
31 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"x86_64" 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" }} | ||
32 | |||
33 | {{ if need_new_kbranch == "y" and qemuarch == "mips": }} | ||
34 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"mips" 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" }} | ||
35 | |||
36 | {{ 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/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }} | ||
38 | |||
39 | {{ if need_new_kbranch == "y" and qemuarch == "mips64": }} | ||
40 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"mips64" 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" }} | ||
41 | |||
42 | {{ if need_new_kbranch == "n" and qemuarch == "mips64": }} | ||
43 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips64" 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" }} | ||
44 | |||
45 | {{ if need_new_kbranch == "n": }} | ||
46 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
47 | |||
48 | {{ if qemuarch != "arm": }} | ||
49 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
50 | {{ if smp == "y": }} | ||
51 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
52 | |||
53 | SRC_URI += "file://{{=machine}}.scc \ | ||
54 | file://{{=machine}}.cfg \ | ||
55 | file://{{=machine}}-tiny.scc \ | ||
56 | file://{{=machine}}-user-config.cfg \ | ||
57 | file://{{=machine}}-user-patches.scc \ | ||
58 | file://{{=machine}}-user-features.scc \ | ||
59 | " | ||
60 | |||
61 | # replace these SRCREVs with the real commit ids once you've had | ||
62 | # the appropriate changes committed to the upstream linux-yocto repo | ||
63 | SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" | ||
64 | SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" | ||
65 | #LINUX_VERSION = "4.10" | ||
66 | #Remove the following line once AUTOREV is locked to a certain SRCREV | ||
67 | KERNEL_VERSION_SANITY_SKIP = "1" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.12.bbappend b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.12.bbappend deleted file mode 100644 index 83eb216dc1..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.12.bbappend +++ /dev/null | |||
@@ -1,67 +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 | {{ 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" and qemuarch == "arm": }} | ||
10 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"arm" 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" }} | ||
11 | |||
12 | {{ if need_new_kbranch == "n" and qemuarch == "arm": }} | ||
13 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"arm" 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" }} | ||
14 | |||
15 | {{ if need_new_kbranch == "y" and qemuarch == "powerpc": }} | ||
16 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"powerpc" 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" }} | ||
17 | |||
18 | {{ if need_new_kbranch == "n" and qemuarch == "powerpc": }} | ||
19 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"powerpc" 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" }} | ||
20 | |||
21 | {{ if need_new_kbranch == "y" and qemuarch == "i386": }} | ||
22 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"i386" 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" }} | ||
23 | |||
24 | {{ if need_new_kbranch == "n" and qemuarch == "i386": }} | ||
25 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"i386" 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/common-pc" }} | ||
26 | |||
27 | {{ if need_new_kbranch == "y" and qemuarch == "x86_64": }} | ||
28 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"x86_64" 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" }} | ||
29 | |||
30 | {{ if need_new_kbranch == "n" and qemuarch == "x86_64": }} | ||
31 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"x86_64" 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" }} | ||
32 | |||
33 | {{ if need_new_kbranch == "y" and qemuarch == "mips": }} | ||
34 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"mips" 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" }} | ||
35 | |||
36 | {{ 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/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }} | ||
38 | |||
39 | {{ if need_new_kbranch == "y" and qemuarch == "mips64": }} | ||
40 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"mips64" 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" }} | ||
41 | |||
42 | {{ if need_new_kbranch == "n" and qemuarch == "mips64": }} | ||
43 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips64" 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" }} | ||
44 | |||
45 | {{ if need_new_kbranch == "n": }} | ||
46 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
47 | |||
48 | {{ if qemuarch != "arm": }} | ||
49 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
50 | {{ if smp == "y": }} | ||
51 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
52 | |||
53 | SRC_URI += "file://{{=machine}}.scc \ | ||
54 | file://{{=machine}}.cfg \ | ||
55 | file://{{=machine}}-tiny.scc \ | ||
56 | file://{{=machine}}-user-config.cfg \ | ||
57 | file://{{=machine}}-user-patches.scc \ | ||
58 | file://{{=machine}}-user-features.scc \ | ||
59 | " | ||
60 | |||
61 | # replace these SRCREVs with the real commit ids once you've had | ||
62 | # the appropriate changes committed to the upstream linux-yocto repo | ||
63 | SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" | ||
64 | SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" | ||
65 | #LINUX_VERSION = "4.10" | ||
66 | #Remove the following line once AUTOREV is locked to a certain SRCREV | ||
67 | KERNEL_VERSION_SANITY_SKIP = "1" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend deleted file mode 100644 index 22abc230bf..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend +++ /dev/null | |||
@@ -1,67 +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 | {{ 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" and qemuarch == "arm": }} | ||
10 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"arm" 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" }} | ||
11 | |||
12 | {{ if need_new_kbranch == "n" and qemuarch == "arm": }} | ||
13 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"arm" 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" }} | ||
14 | |||
15 | {{ if need_new_kbranch == "y" and qemuarch == "powerpc": }} | ||
16 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"powerpc" 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" }} | ||
17 | |||
18 | {{ if need_new_kbranch == "n" and qemuarch == "powerpc": }} | ||
19 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"powerpc" 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" }} | ||
20 | |||
21 | {{ if need_new_kbranch == "y" and qemuarch == "i386": }} | ||
22 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"i386" 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" }} | ||
23 | |||
24 | {{ if need_new_kbranch == "n" and qemuarch == "i386": }} | ||
25 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"i386" 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/common-pc" }} | ||
26 | |||
27 | {{ if need_new_kbranch == "y" and qemuarch == "x86_64": }} | ||
28 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"x86_64" 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" }} | ||
29 | |||
30 | {{ if need_new_kbranch == "n" and qemuarch == "x86_64": }} | ||
31 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"x86_64" 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" }} | ||
32 | |||
33 | {{ if need_new_kbranch == "y" and qemuarch == "mips": }} | ||
34 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"mips" 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" }} | ||
35 | |||
36 | {{ 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/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }} | ||
38 | |||
39 | {{ if need_new_kbranch == "y" and qemuarch == "mips64": }} | ||
40 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"mips64" 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" }} | ||
41 | |||
42 | {{ if need_new_kbranch == "n" and qemuarch == "mips64": }} | ||
43 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips64" 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" }} | ||
44 | |||
45 | {{ if need_new_kbranch == "n": }} | ||
46 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
47 | |||
48 | {{ if qemuarch != "arm": }} | ||
49 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
50 | {{ if smp == "y": }} | ||
51 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
52 | |||
53 | SRC_URI += "file://{{=machine}}.scc \ | ||
54 | file://{{=machine}}.cfg \ | ||
55 | file://{{=machine}}-tiny.scc \ | ||
56 | file://{{=machine}}-user-config.cfg \ | ||
57 | file://{{=machine}}-user-patches.scc \ | ||
58 | file://{{=machine}}-user-features.scc \ | ||
59 | " | ||
60 | |||
61 | # replace these SRCREVs with the real commit ids once you've had | ||
62 | # the appropriate changes committed to the upstream linux-yocto repo | ||
63 | SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" | ||
64 | SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "${AUTOREV}" | ||
65 | #LINUX_VERSION = "4.4" | ||
66 | #Remove the following line once AUTOREV is locked to a certain SRCREV | ||
67 | KERNEL_VERSION_SANITY_SKIP = "1" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.10.bbappend b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.10.bbappend deleted file mode 100644 index 851d96c375..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.10.bbappend +++ /dev/null | |||
@@ -1,67 +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 | {{ 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" and qemuarch == "arm": }} | ||
10 | {{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base your new BSP branch on:" default:"standard/base" }} | ||
11 | |||
12 | {{ if need_new_kbranch == "n" and qemuarch == "arm": }} | ||
13 | {{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose an existing machine branch to use for this BSP:" default:"standard/arm-versatile-926ejs" }} | ||
14 | |||
15 | {{ if need_new_kbranch == "y" and qemuarch == "powerpc": }} | ||
16 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"powerpc" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
17 | |||
18 | {{ if need_new_kbranch == "n" and qemuarch == "powerpc": }} | ||
19 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"powerpc" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/qemuppc" }} | ||
20 | |||
21 | {{ if need_new_kbranch == "y" and qemuarch == "i386": }} | ||
22 | {{ 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" }} | ||
23 | |||
24 | {{ if need_new_kbranch == "n" and qemuarch == "i386": }} | ||
25 | {{ 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" }} | ||
26 | |||
27 | {{ if need_new_kbranch == "y" and qemuarch == "x86_64": }} | ||
28 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"x86_64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
29 | |||
30 | {{ if need_new_kbranch == "n" and qemuarch == "x86_64": }} | ||
31 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"x86_64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
32 | |||
33 | {{ if need_new_kbranch == "n" and qemuarch == "mips": }} | ||
34 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/mti-malta32" }} | ||
35 | |||
36 | {{ if need_new_kbranch == "n" and qemuarch == "mips64": }} | ||
37 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/mti-malta64" }} | ||
38 | |||
39 | {{ if need_new_kbranch == "y" and qemuarch == "mips": }} | ||
40 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
41 | |||
42 | {{ if need_new_kbranch == "y" and qemuarch == "mips64": }} | ||
43 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
44 | |||
45 | {{ if need_new_kbranch == "n": }} | ||
46 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
47 | |||
48 | {{ if qemuarch != "arm": }} | ||
49 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Would you like SMP support? (y/n)" default:"y"}} | ||
50 | {{ if smp == "y": }} | ||
51 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
52 | |||
53 | SRC_URI += "file://{{=machine}}.scc \ | ||
54 | file://{{=machine}}.cfg \ | ||
55 | file://{{=machine}}-standard.scc \ | ||
56 | file://{{=machine}}-user-config.cfg \ | ||
57 | file://{{=machine}}-user-features.scc \ | ||
58 | file://{{=machine}}-user-patches.scc \ | ||
59 | " | ||
60 | |||
61 | # replace these SRCREVs with the real commit ids once you've had | ||
62 | # the appropriate changes committed to the upstream linux-yocto repo | ||
63 | SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" | ||
64 | SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" | ||
65 | #LINUX_VERSION = "4.10" | ||
66 | #Remove the following line once AUTOREV is locked to a certain SRCREV | ||
67 | KERNEL_VERSION_SANITY_SKIP = "1" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.12.bbappend b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.12.bbappend deleted file mode 100644 index d7ce37e239..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.12.bbappend +++ /dev/null | |||
@@ -1,67 +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 | {{ 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" and qemuarch == "arm": }} | ||
10 | {{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base your new BSP branch on:" default:"standard/base" }} | ||
11 | |||
12 | {{ if need_new_kbranch == "n" and qemuarch == "arm": }} | ||
13 | {{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose an existing machine branch to use for this BSP:" default:"standard/arm-versatile-926ejs" }} | ||
14 | |||
15 | {{ if need_new_kbranch == "y" and qemuarch == "powerpc": }} | ||
16 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"powerpc" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
17 | |||
18 | {{ if need_new_kbranch == "n" and qemuarch == "powerpc": }} | ||
19 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"powerpc" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/qemuppc" }} | ||
20 | |||
21 | {{ if need_new_kbranch == "y" and qemuarch == "i386": }} | ||
22 | {{ 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" }} | ||
23 | |||
24 | {{ if need_new_kbranch == "n" and qemuarch == "i386": }} | ||
25 | {{ 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" }} | ||
26 | |||
27 | {{ if need_new_kbranch == "y" and qemuarch == "x86_64": }} | ||
28 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"x86_64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
29 | |||
30 | {{ if need_new_kbranch == "n" and qemuarch == "x86_64": }} | ||
31 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"x86_64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
32 | |||
33 | {{ if need_new_kbranch == "n" and qemuarch == "mips": }} | ||
34 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/mti-malta32" }} | ||
35 | |||
36 | {{ if need_new_kbranch == "n" and qemuarch == "mips64": }} | ||
37 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/mti-malta64" }} | ||
38 | |||
39 | {{ if need_new_kbranch == "y" and qemuarch == "mips": }} | ||
40 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
41 | |||
42 | {{ if need_new_kbranch == "y" and qemuarch == "mips64": }} | ||
43 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
44 | |||
45 | {{ if need_new_kbranch == "n": }} | ||
46 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
47 | |||
48 | {{ if qemuarch != "arm": }} | ||
49 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Would you like SMP support? (y/n)" default:"y"}} | ||
50 | {{ if smp == "y": }} | ||
51 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
52 | |||
53 | SRC_URI += "file://{{=machine}}.scc \ | ||
54 | file://{{=machine}}.cfg \ | ||
55 | file://{{=machine}}-standard.scc \ | ||
56 | file://{{=machine}}-user-config.cfg \ | ||
57 | file://{{=machine}}-user-features.scc \ | ||
58 | file://{{=machine}}-user-patches.scc \ | ||
59 | " | ||
60 | |||
61 | # replace these SRCREVs with the real commit ids once you've had | ||
62 | # the appropriate changes committed to the upstream linux-yocto repo | ||
63 | SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" | ||
64 | SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" | ||
65 | #LINUX_VERSION = "4.10" | ||
66 | #Remove the following line once AUTOREV is locked to a certain SRCREV | ||
67 | KERNEL_VERSION_SANITY_SKIP = "1" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend deleted file mode 100644 index 71be913bb0..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend +++ /dev/null | |||
@@ -1,67 +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 | {{ 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" and qemuarch == "arm": }} | ||
10 | {{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base your new BSP branch on:" default:"standard/base" }} | ||
11 | |||
12 | {{ if need_new_kbranch == "n" and qemuarch == "arm": }} | ||
13 | {{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose an existing machine branch to use for this BSP:" default:"standard/arm-versatile-926ejs" }} | ||
14 | |||
15 | {{ if need_new_kbranch == "y" and qemuarch == "powerpc": }} | ||
16 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"powerpc" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
17 | |||
18 | {{ if need_new_kbranch == "n" and qemuarch == "powerpc": }} | ||
19 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"powerpc" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/qemuppc" }} | ||
20 | |||
21 | {{ if need_new_kbranch == "y" and qemuarch == "i386": }} | ||
22 | {{ 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" }} | ||
23 | |||
24 | {{ if need_new_kbranch == "n" and qemuarch == "i386": }} | ||
25 | {{ 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" }} | ||
26 | |||
27 | {{ if need_new_kbranch == "y" and qemuarch == "x86_64": }} | ||
28 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"x86_64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
29 | |||
30 | {{ if need_new_kbranch == "n" and qemuarch == "x86_64": }} | ||
31 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"x86_64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
32 | |||
33 | {{ if need_new_kbranch == "n" and qemuarch == "mips": }} | ||
34 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/mti-malta32" }} | ||
35 | |||
36 | {{ if need_new_kbranch == "n" and qemuarch == "mips64": }} | ||
37 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/mti-malta64" }} | ||
38 | |||
39 | {{ if need_new_kbranch == "y" and qemuarch == "mips": }} | ||
40 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
41 | |||
42 | {{ if need_new_kbranch == "y" and qemuarch == "mips64": }} | ||
43 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
44 | |||
45 | {{ if need_new_kbranch == "n": }} | ||
46 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
47 | |||
48 | {{ if qemuarch != "arm": }} | ||
49 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Would you like SMP support? (y/n)" default:"y"}} | ||
50 | {{ if smp == "y": }} | ||
51 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
52 | |||
53 | SRC_URI += "file://{{=machine}}.scc \ | ||
54 | file://{{=machine}}.cfg \ | ||
55 | file://{{=machine}}-standard.scc \ | ||
56 | file://{{=machine}}-user-config.cfg \ | ||
57 | file://{{=machine}}-user-features.scc \ | ||
58 | file://{{=machine}}-user-patches.scc \ | ||
59 | " | ||
60 | |||
61 | # replace these SRCREVs with the real commit ids once you've had | ||
62 | # the appropriate changes committed to the upstream linux-yocto repo | ||
63 | SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" | ||
64 | SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "${AUTOREV}" | ||
65 | #LINUX_VERSION = "4.4" | ||
66 | #Remove the following line once AUTOREV is locked to a certain SRCREV | ||
67 | KERNEL_VERSION_SANITY_SKIP = "1" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/.gitignore b/scripts/lib/bsp/substrate/target/arch/x86_64/.gitignore deleted file mode 100644 index e69de29bb2..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/.gitignore +++ /dev/null | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/conf/machine/machine.conf b/scripts/lib/bsp/substrate/target/arch/x86_64/conf/machine/machine.conf deleted file mode 100644 index e4b825104f..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/conf/machine/machine.conf +++ /dev/null | |||
@@ -1,65 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.conf | ||
2 | #@TYPE: Machine | ||
3 | #@NAME: {{=machine}} | ||
4 | |||
5 | #@DESCRIPTION: Machine configuration for {{=machine}} systems | ||
6 | |||
7 | {{ if kernel_choice == "custom": preferred_kernel = "linux-yocto-custom" }} | ||
8 | {{ if kernel_choice == "linux-yocto-dev": preferred_kernel = "linux-yocto-dev" }} | ||
9 | {{ if kernel_choice == "custom" or kernel_choice == "linux-yocto-dev" : }} | ||
10 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
11 | |||
12 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel = kernel_choice.split('_')[0] }} | ||
13 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel_version = kernel_choice.split('_')[1] }} | ||
14 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": }} | ||
15 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
16 | PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" | ||
17 | |||
18 | {{ input type:"choicelist" name:"tunefile" prio:"40" msg:"Which machine tuning would you like to use?" default:"tune_core2" }} | ||
19 | {{ input type:"choice" val:"tune_core2" msg:"Core2 tuning optimizations" }} | ||
20 | {{ input type:"choice" val:"tune_corei7" msg:"Corei7 tuning optimizations" }} | ||
21 | {{ if tunefile == "tune_core2": }} | ||
22 | DEFAULTTUNE ?= "core2-64" | ||
23 | require conf/machine/include/tune-core2.inc | ||
24 | {{ if tunefile == "tune_corei7": }} | ||
25 | DEFAULTTUNE ?= "corei7-64" | ||
26 | require conf/machine/include/tune-corei7.inc | ||
27 | |||
28 | require conf/machine/include/x86-base.inc | ||
29 | |||
30 | MACHINE_FEATURES += "wifi efi pcbios" | ||
31 | |||
32 | {{ input type:"boolean" name:"xserver" prio:"50" msg:"Do you need support for X? (y/n)" default:"y" }} | ||
33 | |||
34 | {{ if xserver == "y": }} | ||
35 | {{ input type:"choicelist" name:"xserver_choice" prio:"50" msg:"Please select an xserver for this machine:" default:"xserver_i915" }} | ||
36 | |||
37 | {{ input type:"choice" val:"xserver_vesa" msg:"VESA xserver support" }} | ||
38 | {{ input type:"choice" val:"xserver_i915" msg:"i915 xserver support" }} | ||
39 | {{ input type:"choice" val:"xserver_i965" msg:"i965 xserver support" }} | ||
40 | {{ input type:"choice" val:"xserver_fbdev" msg:"fbdev xserver support" }} | ||
41 | {{ input type:"choice" val:"xserver_modesetting" msg:"modesetting xserver support" }} | ||
42 | {{ if xserver == "y": }} | ||
43 | XSERVER ?= "${XSERVER_X86_BASE} \ | ||
44 | ${XSERVER_X86_EXT} \ | ||
45 | {{ if xserver == "y" and xserver_choice == "xserver_vesa": }} | ||
46 | ${XSERVER_X86_VESA} \ | ||
47 | {{ if xserver == "y" and xserver_choice == "xserver_i915": }} | ||
48 | ${XSERVER_X86_I915} \ | ||
49 | {{ if xserver == "y" and xserver_choice == "xserver_i965": }} | ||
50 | ${XSERVER_X86_I965} \ | ||
51 | {{ if xserver == "y" and xserver_choice == "xserver_fbdev": }} | ||
52 | ${XSERVER_X86_FBDEV} \ | ||
53 | {{ if xserver == "y" and xserver_choice == "xserver_modesetting": }} | ||
54 | ${XSERVER_X86_MODESETTING} \ | ||
55 | {{ if xserver == "y": }} | ||
56 | " | ||
57 | |||
58 | MACHINE_EXTRA_RRECOMMENDS += "linux-firmware v86d eee-acpi-scripts" | ||
59 | |||
60 | EXTRA_OECONF_append_pn-matchbox-panel-2 = " --with-battery=acpi" | ||
61 | |||
62 | GLIBC_ADDONS = "nptl" | ||
63 | |||
64 | {{ if xserver == "y" and xserver_choice == "xserver_vesa": }} | ||
65 | APPEND += "video=vesafb vga=0x318" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-graphics/xorg-xserver/xserver-xf86-config/machine.noinstall b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-graphics/xorg-xserver/xserver-xf86-config/machine.noinstall deleted file mode 100644 index b442d02d57..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-graphics/xorg-xserver/xserver-xf86-config/machine.noinstall +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-dirname {{=machine}} | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-graphics/xorg-xserver/xserver-xf86-config/machine/xorg.conf b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-graphics/xorg-xserver/xserver-xf86-config/machine/xorg.conf deleted file mode 100644 index ac9a0f1bb0..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-graphics/xorg-xserver/xserver-xf86-config/machine/xorg.conf +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-filename {{ if xserver == "y": }} this | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend deleted file mode 100644 index 30830031ed..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | # yocto-bsp-filename {{ if xserver == "y": }} this | ||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files.noinstall b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files.noinstall deleted file mode 100644 index 1e0d92c55c..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/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/x86_64/recipes-kernel/linux/files/machine-preempt-rt.scc b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine-preempt-rt.scc deleted file mode 100644 index bbeeecd6be..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine-preempt-rt.scc +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-preempt-rt.scc | ||
2 | define KMACHINE {{=machine}} | ||
3 | |||
4 | define KARCH x86_64 | ||
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 | ||
12 | |||
13 | # default policy for preempt-rt kernels | ||
14 | include cfg/usb-mass-storage.scc | ||
15 | include cfg/boot-live.scc | ||
16 | include features/latencytop/latencytop.scc | ||
17 | include features/profiling/profiling.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine-standard.scc b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine-standard.scc deleted file mode 100644 index a2b2910851..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine-standard.scc +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-standard.scc | ||
2 | define KMACHINE {{=machine}} | ||
3 | |||
4 | define KARCH x86_64 | ||
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 | ||
12 | |||
13 | # default policy for standard kernels | ||
14 | include cfg/usb-mass-storage.scc | ||
15 | include cfg/boot-live.scc | ||
16 | include features/latencytop/latencytop.scc | ||
17 | include features/profiling/profiling.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine-tiny.scc b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine-tiny.scc deleted file mode 100644 index b53706f8c8..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/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 x86_64 | ||
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/x86_64/recipes-kernel/linux/files/machine-user-config.cfg b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine-user-config.cfg deleted file mode 100644 index 47489e44e9..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/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/x86_64/recipes-kernel/linux/files/machine-user-features.scc b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine-user-features.scc deleted file mode 100644 index 582759e612..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine-user-features.scc +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-user-features.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine-user-patches.scc b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine-user-patches.scc deleted file mode 100644 index 97f747fa07..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/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/x86_64/recipes-kernel/linux/files/machine.cfg b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine.cfg deleted file mode 100644 index 3290ddefe7..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine.cfg +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.cfg | ||
2 | CONFIG_PRINTK=y | ||
3 | |||
4 | # Basic hardware support for the box - network, USB, PCI, sound | ||
5 | CONFIG_NETDEVICES=y | ||
6 | CONFIG_ATA=y | ||
7 | CONFIG_ATA_GENERIC=y | ||
8 | CONFIG_ATA_SFF=y | ||
9 | CONFIG_PCI=y | ||
10 | CONFIG_MMC=y | ||
11 | CONFIG_MMC_SDHCI=y | ||
12 | CONFIG_USB_SUPPORT=y | ||
13 | CONFIG_USB=y | ||
14 | CONFIG_USB_ARCH_HAS_EHCI=y | ||
15 | CONFIG_R8169=y | ||
16 | CONFIG_PATA_SCH=y | ||
17 | CONFIG_MMC_SDHCI_PCI=y | ||
18 | CONFIG_USB_EHCI_HCD=y | ||
19 | CONFIG_PCIEPORTBUS=y | ||
20 | CONFIG_NET=y | ||
21 | CONFIG_USB_UHCI_HCD=y | ||
22 | CONFIG_BLK_DEV_SD=y | ||
23 | CONFIG_CHR_DEV_SG=y | ||
24 | CONFIG_SOUND=y | ||
25 | CONFIG_SND=y | ||
26 | CONFIG_SND_HDA_INTEL=y | ||
27 | |||
28 | # Make sure these are on, otherwise the bootup won't be fun | ||
29 | CONFIG_EXT3_FS=y | ||
30 | CONFIG_UNIX=y | ||
31 | CONFIG_INET=y | ||
32 | CONFIG_MODULES=y | ||
33 | CONFIG_SHMEM=y | ||
34 | CONFIG_TMPFS=y | ||
35 | CONFIG_PACKET=y | ||
36 | |||
37 | CONFIG_I2C=y | ||
38 | CONFIG_AGP=y | ||
39 | CONFIG_PM=y | ||
40 | CONFIG_ACPI=y | ||
41 | CONFIG_INPUT=y | ||
42 | |||
43 | # Needed for booting (and using) USB memory sticks | ||
44 | CONFIG_BLK_DEV_LOOP=y | ||
45 | CONFIG_NLS_CODEPAGE_437=y | ||
46 | CONFIG_NLS_ISO8859_1=y | ||
47 | |||
48 | CONFIG_RD_GZIP=y | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine.scc b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine.scc deleted file mode 100644 index 9d20d199b2..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine.scc +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.scc | ||
2 | kconf hardware {{=machine}}.cfg | ||
3 | |||
4 | include features/serial/8250.scc | ||
5 | {{ if xserver == "y" and xserver_choice == "xserver_vesa": }} | ||
6 | include cfg/vesafb.scc | ||
7 | {{ if xserver == "y" and xserver_choice == "xserver_i915" or xserver_choice == "xserver_i965": }} | ||
8 | include features/i915/i915.scc | ||
9 | |||
10 | include cfg/usb-mass-storage.scc | ||
11 | include features/power/intel.scc | ||
12 | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/kernel-list.noinstall b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/kernel-list.noinstall deleted file mode 100644 index 917f0e2207..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/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/x86_64/recipes-kernel/linux/linux-yocto-dev.bbappend b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto-dev.bbappend deleted file mode 100644 index 22ed273811..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/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/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend deleted file mode 100644 index bae943ea1e..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/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/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.12.bbappend b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.12.bbappend deleted file mode 100644 index 6f3e104c66..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/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/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend deleted file mode 100644 index 62d1817f22..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/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/x86_64/recipes-kernel/linux/linux-yocto_4.10.bbappend b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.10.bbappend deleted file mode 100644 index dfbecb5337..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/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/x86_64/recipes-kernel/linux/linux-yocto_4.12.bbappend b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.12.bbappend deleted file mode 100644 index e874c9e45f..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/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/x86_64/recipes-kernel/linux/linux-yocto_4.4.bbappend b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.4.bbappend deleted file mode 100644 index a809c7600a..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/x86_64/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" | ||