summaryrefslogtreecommitdiffstats
path: root/scripts/lib/bsp/substrate/target/arch/i386/conf/machine/{{=machine}}.conf
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@intel.com>2012-01-24 00:15:25 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-22 19:21:14 +0000
commitf76161b1de427403d0288dc7772907389b56a031 (patch)
treebef2e2d2063c47d64aea7872569b93736cb47d94 /scripts/lib/bsp/substrate/target/arch/i386/conf/machine/{{=machine}}.conf
parentaf193ae15a2ad2e170d4a9d4bcbfff3e429784f5 (diff)
downloadpoky-f76161b1de427403d0288dc7772907389b56a031.tar.gz
yocto-bsp: add BSP template files
BSP template files for all supported Yocto architectures, plus qemu versions of the same. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
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}}.conf48
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] }}
8PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}"
9PREFERRED_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": }}
15include conf/machine/include/tune-atom.inc
16{{ if tunefile == "tune_core2": }}
17include conf/machine/include/tune-core2.inc
18
19require 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": }}
31XSERVER ?= "${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": }}
43PREFERRED_VERSION_xserver-xorg ?= "1.9.3"
44PREFERRED_VERSION_mesa-dri ?= "7.11"
45PREFERRED_VERSION_emgd-driver-bin ?= "1.8"
46
47{{ if xserver == "y" and xserver_choice == "xserver_vesa" or xserver_choice == "xserver_emgd": }}
48APPEND += "video=vesafb vga=0x318"