diff options
Diffstat (limited to 'scripts/lib/bsp/substrate/target/arch/i386/conf/machine/{{=machine}}.conf')
-rw-r--r-- | scripts/lib/bsp/substrate/target/arch/i386/conf/machine/{{=machine}}.conf | 48 |
1 files changed, 48 insertions, 0 deletions
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 new file mode 100644 index 0000000000..ab491b26a6 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/conf/machine/{{=machine}}.conf | |||
@@ -0,0 +1,48 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: {{=machine}} | ||
3 | |||
4 | #@DESCRIPTION: Machine configuration for {{=machine}} systems | ||
5 | |||
6 | {{ preferred_kernel = kernel_choice.split('_')[0] }} | ||
7 | {{ preferred_kernel_version = kernel_choice.split('_')[1] }} | ||
8 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
9 | PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" | ||
10 | |||
11 | {{ input type:"choicelist" name:"tunefile" prio:"40" msg:"Which machine tuning would you like to use?" default:"tune_core2" }} | ||
12 | {{ input type:"choice" val:"tune_atom" msg:"Atom tuning optimizations" }} | ||
13 | {{ input type:"choice" val:"tune_core2" msg:"Core2 tuning optimizations" }} | ||
14 | {{ if tunefile == "tune_atom": }} | ||
15 | include conf/machine/include/tune-atom.inc | ||
16 | {{ if tunefile == "tune_core2": }} | ||
17 | include conf/machine/include/tune-core2.inc | ||
18 | |||
19 | require conf/machine/include/ia32-base.inc | ||
20 | |||
21 | {{ input type:"boolean" name:"xserver" prio:"50" msg:"Do you need support for X? (y/n)" default:"y" }} | ||
22 | |||
23 | {{ if xserver == "y": }} | ||
24 | {{ input type:"choicelist" name:"xserver_choice" prio:"50" msg:"Please select an xserver for this machine:" default:"xserver_i915" }} | ||
25 | |||
26 | {{ input type:"choice" val:"xserver_vesa" msg:"VESA xserver support" }} | ||
27 | {{ input type:"choice" val:"xserver_emgd" msg:"EMGD xserver support (proprietary)" }} | ||
28 | {{ input type:"choice" val:"xserver_i915" msg:"i915 xserver support" }} | ||
29 | |||
30 | {{ if xserver == "y": }} | ||
31 | XSERVER ?= "${XSERVER_IA32_BASE} \ | ||
32 | ${XSERVER_IA32_EXT} \ | ||
33 | {{ if xserver == "y" and xserver_choice == "xserver_vesa": }} | ||
34 | ${XSERVER_IA32_VESA} \ | ||
35 | {{ if xserver == "y" and xserver_choice == "xserver_emgd": }} | ||
36 | ${XSERVER_IA32_EMGD} \ | ||
37 | {{ if xserver == "y" and xserver_choice == "xserver_i915": }} | ||
38 | ${XSERVER_IA32_I915} \ | ||
39 | {{ if xserver == "y": }} | ||
40 | " | ||
41 | |||
42 | {{ if xserver == "y" and xserver_choice == "xserver_emgd": }} | ||
43 | PREFERRED_VERSION_xserver-xorg ?= "1.9.3" | ||
44 | PREFERRED_VERSION_mesa-dri ?= "7.11" | ||
45 | PREFERRED_VERSION_emgd-driver-bin ?= "1.8" | ||
46 | |||
47 | {{ if xserver == "y" and xserver_choice == "xserver_vesa" or xserver_choice == "xserver_emgd": }} | ||
48 | APPEND += "video=vesafb vga=0x318" | ||