diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /scripts/lib/bsp/substrate/target/arch/mips/conf/machine/{{=machine}}.conf | |
download | poky-c527fd1f14c27855a37f2e8ac5346ce8d940ced2.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
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 | 38 |
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 | |||
6 | require conf/machine/include/tune-mips32.inc | ||
7 | |||
8 | MACHINE_FEATURES = "screen keyboard pci usbhost ext2 ext3 serial" | ||
9 | |||
10 | KERNEL_IMAGETYPE = "vmlinux" | ||
11 | KERNEL_ALT_IMAGETYPE = "vmlinux.bin" | ||
12 | KERNEL_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" : }} | ||
17 | PREFERRED_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": }} | ||
22 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
23 | PREFERRED_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": }} | ||
27 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" | ||
28 | XSERVER ?= "xserver-xorg \ | ||
29 | xf86-input-evdev \ | ||
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" \ No newline at end of file | ||