summaryrefslogtreecommitdiffstats
path: root/scripts/lib/bsp/substrate/target/arch/x86_64/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/x86_64/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/x86_64/conf/machine/{{=machine}}.conf')
-rw-r--r--scripts/lib/bsp/substrate/target/arch/x86_64/conf/machine/{{=machine}}.conf32
1 files changed, 32 insertions, 0 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/conf/machine/{{=machine}}.conf b/scripts/lib/bsp/substrate/target/arch/x86_64/conf/machine/{{=machine}}.conf
new file mode 100644
index 0000000000..6c2db2249d
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/x86_64/conf/machine/{{=machine}}.conf
@@ -0,0 +1,32 @@
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
11require conf/machine/include/tune-x86_64.inc
12require conf/machine/include/ia32-base.inc
13
14{{ input type:"boolean" name:"xserver" prio:"50" msg:"Do you need support for X? (y/n)" default:"y" }}
15
16{{ if xserver == "y": }}
17{{ input type:"choicelist" name:"xserver_choice" prio:"50" msg:"Please select an xserver for this machine:" default:"xserver_i915" }}
18
19{{ input type:"choice" val:"xserver_vesa" msg:"VESA xserver support" }}
20{{ input type:"choice" val:"xserver_i915" msg:"i915 xserver support" }}
21{{ if xserver == "y": }}
22XSERVER ?= "${XSERVER_IA32_BASE} \
23 ${XSERVER_IA32_EXT} \
24{{ if xserver == "y" and xserver_choice == "xserver_vesa": }}
25 ${XSERVER_IA32_VESA} \
26{{ if xserver == "y" and xserver_choice == "xserver_i915": }}
27 ${XSERVER_IA32_I915} \
28{{ if xserver == "y" and xserver == "y": }}
29 "
30
31{{ if xserver == "y" and xserver_choice == "xserver_vesa": }}
32APPEND += "video=vesafb vga=0x318"