diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/{{=machine}}.conf | 8 |
1 files changed, 3 insertions, 5 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 index 9ab0bf410c..d66d28f7ad 100644 --- a/scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/{{=machine}}.conf +++ b/scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/{{=machine}}.conf | |||
@@ -27,8 +27,10 @@ PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa" | |||
27 | {{ input type:"choice" val:"powerpc" msg:"PowerPC (32-bit)" }} | 27 | {{ input type:"choice" val:"powerpc" msg:"PowerPC (32-bit)" }} |
28 | {{ input type:"choice" val:"mips" msg:"MIPS (32-bit)" }} | 28 | {{ input type:"choice" val:"mips" msg:"MIPS (32-bit)" }} |
29 | {{ if qemuarch == "i386": }} | 29 | {{ if qemuarch == "i386": }} |
30 | require conf/machine/include/qemu.inc | ||
30 | require conf/machine/include/tune-i586.inc | 31 | require conf/machine/include/tune-i586.inc |
31 | {{ if qemuarch == "x86_64": }} | 32 | {{ if qemuarch == "x86_64": }} |
33 | require conf/machine/include/qemu.inc | ||
32 | require conf/machine/include/tune-x86_64.inc | 34 | require conf/machine/include/tune-x86_64.inc |
33 | {{ if qemuarch == "arm": }} | 35 | {{ if qemuarch == "arm": }} |
34 | require conf/machine/include/qemu.inc | 36 | require conf/machine/include/qemu.inc |
@@ -44,17 +46,13 @@ require conf/machine/include/tune-mips32.inc | |||
44 | MACHINE_FEATURES += "x86" | 46 | MACHINE_FEATURES += "x86" |
45 | KERNEL_IMAGETYPE = "bzImage" | 47 | KERNEL_IMAGETYPE = "bzImage" |
46 | SERIAL_CONSOLE = "115200 ttyS0" | 48 | SERIAL_CONSOLE = "115200 ttyS0" |
47 | 49 | XSERVER = "xserver-xorg \ | |
48 | # We bypass swrast but we need it to be present for X to load correctly | ||
49 | XSERVER ?= "xserver-xorg \ | ||
50 | mesa-driver-swrast \ | 50 | mesa-driver-swrast \ |
51 | xf86-input-vmmouse \ | 51 | xf86-input-vmmouse \ |
52 | xf86-input-keyboard \ | 52 | xf86-input-keyboard \ |
53 | xf86-input-evdev \ | 53 | xf86-input-evdev \ |
54 | xf86-video-vmware" | 54 | xf86-video-vmware" |
55 | 55 | ||
56 | require conf/machine/include/qemu.inc | ||
57 | |||
58 | {{ if qemuarch == "arm": }} | 56 | {{ if qemuarch == "arm": }} |
59 | KERNEL_IMAGETYPE = "zImage" | 57 | KERNEL_IMAGETYPE = "zImage" |
60 | SERIAL_CONSOLE = "115200 ttyAMA0" | 58 | SERIAL_CONSOLE = "115200 ttyAMA0" |