diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 14:36:22 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 15:32:53 +0200 |
commit | f4cf9fe05bb3f32fabea4e54dd92d368967a80da (patch) | |
tree | 487180fa9866985ea7b28e625651765d86f515c3 /scripts/lib/bsp/substrate/target/arch/x86_64/conf/machine/{{=machine}}.conf | |
download | poky-f4cf9fe05bb3f32fabea4e54dd92d368967a80da.tar.gz |
initial commit for Enea Linux 4.0
Migrated from the internal git server on the daisy-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.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}}.conf | 58 |
1 files changed, 58 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..53e8e92e6d --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/x86_64/conf/machine/{{=machine}}.conf | |||
@@ -0,0 +1,58 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: {{=machine}} | ||
3 | |||
4 | #@DESCRIPTION: Machine configuration for {{=machine}} systems | ||
5 | |||
6 | {{ if kernel_choice == "custom": preferred_kernel = "linux-yocto-custom" }} | ||
7 | {{ if kernel_choice == "linux-yocto-dev": preferred_kernel = "linux-yocto-dev" }} | ||
8 | {{ if kernel_choice == "custom" or kernel_choice == "linux-yocto-dev" : }} | ||
9 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
10 | |||
11 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel = kernel_choice.split('_')[0] }} | ||
12 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel_version = kernel_choice.split('_')[1] }} | ||
13 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": }} | ||
14 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
15 | PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" | ||
16 | |||
17 | {{ input type:"choicelist" name:"tunefile" prio:"40" msg:"Which machine tuning would you like to use?" default:"tune_core2" }} | ||
18 | {{ input type:"choice" val:"tune_core2" msg:"Core2 tuning optimizations" }} | ||
19 | {{ input type:"choice" val:"tune_corei7" msg:"Corei7 tuning optimizations" }} | ||
20 | {{ if tunefile == "tune_core2": }} | ||
21 | DEFAULTTUNE ?= "core2-64" | ||
22 | require conf/machine/include/tune-core2.inc | ||
23 | {{ if tunefile == "tune_corei7": }} | ||
24 | DEFAULTTUNE ?= "corei7-64" | ||
25 | require conf/machine/include/tune-corei7.inc | ||
26 | |||
27 | require conf/machine/include/x86-base.inc | ||
28 | |||
29 | MACHINE_FEATURES += "wifi efi pcbios" | ||
30 | |||
31 | {{ input type:"boolean" name:"xserver" prio:"50" msg:"Do you need support for X? (y/n)" default:"y" }} | ||
32 | |||
33 | {{ if xserver == "y": }} | ||
34 | {{ input type:"choicelist" name:"xserver_choice" prio:"50" msg:"Please select an xserver for this machine:" default:"xserver_i915" }} | ||
35 | |||
36 | {{ input type:"choice" val:"xserver_vesa" msg:"VESA xserver support" }} | ||
37 | {{ input type:"choice" val:"xserver_i915" msg:"i915 xserver support" }} | ||
38 | {{ input type:"choice" val:"xserver_i965" msg:"i965 xserver support" }} | ||
39 | {{ if xserver == "y": }} | ||
40 | XSERVER ?= "${XSERVER_X86_BASE} \ | ||
41 | ${XSERVER_X86_EXT} \ | ||
42 | {{ if xserver == "y" and xserver_choice == "xserver_vesa": }} | ||
43 | ${XSERVER_X86_VESA} \ | ||
44 | {{ if xserver == "y" and xserver_choice == "xserver_i915": }} | ||
45 | ${XSERVER_X86_I915} \ | ||
46 | {{ if xserver == "y" and xserver_choice == "xserver_i965": }} | ||
47 | ${XSERVER_X86_I965} \ | ||
48 | {{ if xserver == "y": }} | ||
49 | " | ||
50 | |||
51 | MACHINE_EXTRA_RRECOMMENDS += "linux-firmware v86d" | ||
52 | |||
53 | GLIBC_ADDONS = "nptl" | ||
54 | |||
55 | EXTRA_OECONF_append_pn-matchbox-panel-2 = " --with-battery=acpi" | ||
56 | |||
57 | {{ if xserver == "y" and xserver_choice == "xserver_vesa": }} | ||
58 | APPEND += "video=vesafb vga=0x318" | ||