diff options
Diffstat (limited to 'scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/machine.conf')
-rw-r--r-- | scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/machine.conf | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/machine.conf b/scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/machine.conf deleted file mode 100644 index 91888581e7..0000000000 --- a/scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/machine.conf +++ /dev/null | |||
@@ -1,71 +0,0 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.conf | ||
2 | #@TYPE: Machine | ||
3 | #@NAME: {{=machine}} | ||
4 | |||
5 | #@DESCRIPTION: Machine configuration for {{=machine}} systems | ||
6 | |||
7 | {{ if kernel_choice == "custom": preferred_kernel = "linux-yocto-custom" }} | ||
8 | {{ if kernel_choice == "linux-yocto-dev": preferred_kernel = "linux-yocto-dev" }} | ||
9 | {{ if kernel_choice == "custom" or kernel_choice == "linux-yocto-dev" : }} | ||
10 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
11 | |||
12 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel = kernel_choice.split('_')[0] }} | ||
13 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel_version = kernel_choice.split('_')[1] }} | ||
14 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": }} | ||
15 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
16 | PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" | ||
17 | |||
18 | {{ if qemuarch == "i386" or qemuarch == "x86_64": }} | ||
19 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" | ||
20 | PREFERRED_PROVIDER_virtual/libgl ?= "mesa" | ||
21 | PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa" | ||
22 | PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa" | ||
23 | |||
24 | {{ input type:"choicelist" name:"qemuarch" prio:"5" msg:"Which qemu architecture would you like to use?" default:"i386" }} | ||
25 | {{ input type:"choice" val:"i386" msg:"i386 (32-bit)" }} | ||
26 | {{ input type:"choice" val:"x86_64" msg:"x86_64 (64-bit)" }} | ||
27 | {{ input type:"choice" val:"arm" msg:"ARM (32-bit)" }} | ||
28 | {{ input type:"choice" val:"powerpc" msg:"PowerPC (32-bit)" }} | ||
29 | {{ input type:"choice" val:"mips" msg:"MIPS (32-bit)" }} | ||
30 | {{ input type:"choice" val:"mips64" msg:"MIPS64 (64-bit)" }} | ||
31 | {{ if qemuarch == "i386": }} | ||
32 | require conf/machine/include/qemu.inc | ||
33 | require conf/machine/include/tune-i586.inc | ||
34 | {{ if qemuarch == "x86_64": }} | ||
35 | require conf/machine/include/qemu.inc | ||
36 | DEFAULTTUNE ?= "core2-64" | ||
37 | require conf/machine/include/tune-core2.inc | ||
38 | {{ if qemuarch == "arm": }} | ||
39 | require conf/machine/include/qemu.inc | ||
40 | require conf/machine/include/tune-arm926ejs.inc | ||
41 | {{ if qemuarch == "powerpc": }} | ||
42 | require conf/machine/include/qemu.inc | ||
43 | require conf/machine/include/tune-ppc7400.inc | ||
44 | {{ if qemuarch == "mips": }} | ||
45 | require conf/machine/include/qemu.inc | ||
46 | require conf/machine/include/tune-mips32.inc | ||
47 | {{ if qemuarch == "mips64": }} | ||
48 | require conf/machine/include/qemu.inc | ||
49 | require conf/machine/include/tune-mips64.inc | ||
50 | |||
51 | {{ if qemuarch == "i386" or qemuarch == "x86_64": }} | ||
52 | MACHINE_FEATURES += "x86" | ||
53 | KERNEL_IMAGETYPE = "bzImage" | ||
54 | SERIAL_CONSOLE = "115200 ttyS0" | ||
55 | XSERVER = "xserver-xorg \ | ||
56 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast', '', d)} \ | ||
57 | xf86-video-vmware" | ||
58 | |||
59 | {{ if qemuarch == "arm": }} | ||
60 | KERNEL_IMAGETYPE = "zImage" | ||
61 | SERIAL_CONSOLE = "115200 ttyAMA0" | ||
62 | |||
63 | {{ if qemuarch == "powerpc": }} | ||
64 | KERNEL_IMAGETYPE = "vmlinux" | ||
65 | SERIAL_CONSOLE = "115200 ttyS0" | ||
66 | |||
67 | {{ if qemuarch == "mips" or qemuarch == "mips64": }} | ||
68 | KERNEL_IMAGETYPE = "vmlinux" | ||
69 | KERNEL_ALT_IMAGETYPE = "vmlinux.bin" | ||
70 | SERIAL_CONSOLE = "115200 ttyS0" | ||
71 | MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" | ||