summaryrefslogtreecommitdiffstats
path: root/scripts/lib/bsp/substrate/target/arch/mips/conf/machine/{{=machine}}.conf
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/bsp/substrate/target/arch/mips/conf/machine/{{=machine}}.conf')
-rw-r--r--scripts/lib/bsp/substrate/target/arch/mips/conf/machine/{{=machine}}.conf38
1 files changed, 38 insertions, 0 deletions
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
new file mode 100644
index 0000000000..2e704263e1
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/mips/conf/machine/{{=machine}}.conf
@@ -0,0 +1,38 @@
1#@TYPE: Machine
2#@NAME: {{=machine}}
3
4#@DESCRIPTION: Machine configuration for {{=machine}} systems
5
6require conf/machine/include/tune-mips32.inc
7
8MACHINE_FEATURES = "screen keyboard pci usbhost ext2 ext3 serial"
9
10KERNEL_IMAGETYPE = "vmlinux"
11KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
12KERNEL_IMAGE_STRIP_EXTRA_SECTIONS = ".comment"
13
14{{ if kernel_choice == "custom": preferred_kernel = "linux-yocto-custom" }}
15{{ if kernel_choice == "linux-yocto-dev": preferred_kernel = "linux-yocto-dev" }}
16{{ if kernel_choice == "custom" or kernel_choice == "linux-yocto-dev" : }}
17PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}"
18
19{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel = kernel_choice.split('_')[0] }}
20{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel_version = kernel_choice.split('_')[1] }}
21{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": }}
22PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}"
23PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%"
24
25{{ input type:"boolean" name:"xserver" prio:"50" msg:"Do you need support for X? (y/n)" default:"y" }}
26{{ if xserver == "y": }}
27PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
28XSERVER ?= "xserver-xorg \
29 xf86-input-evdev \
30 xf86-video-fbdev"
31
32SERIAL_CONSOLE = "115200 ttyS0"
33USE_VT ?= "0"
34
35MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
36
37IMAGE_FSTYPES ?= "jffs2 tar.bz2"
38JFFS2_ERASEBLOCK = "0x10000" \ No newline at end of file