diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /scripts/lib/bsp/substrate/target/arch/mips/conf/machine/machine.conf | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
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.conf | 39 |
1 files changed, 39 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..b319d626f4 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/mips/conf/machine/machine.conf | |||
@@ -0,0 +1,39 @@ | |||
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-input-evdev \ | ||
31 | xf86-video-fbdev" | ||
32 | |||
33 | SERIAL_CONSOLE = "115200 ttyS0" | ||
34 | USE_VT ?= "0" | ||
35 | |||
36 | MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" | ||
37 | |||
38 | IMAGE_FSTYPES ?= "jffs2 tar.bz2" | ||
39 | JFFS2_ERASEBLOCK = "0x10000" | ||