diff options
-rw-r--r-- | scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/{{=machine}}.conf | 7 |
1 files changed, 5 insertions, 2 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 0e4ecadf08..1ab6e58af7 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 | |||
@@ -8,6 +8,7 @@ | |||
8 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | 8 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" |
9 | PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" | 9 | PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" |
10 | 10 | ||
11 | {{ if qemuarch == "i386" or qemuarch == "x86_64": }} | ||
11 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" | 12 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" |
12 | PREFERRED_PROVIDER_virtual/libgl ?= "mesa-dri" | 13 | PREFERRED_PROVIDER_virtual/libgl ?= "mesa-dri" |
13 | 14 | ||
@@ -22,13 +23,14 @@ require conf/machine/include/tune-i586.inc | |||
22 | {{ if qemuarch == "x86_64": }} | 23 | {{ if qemuarch == "x86_64": }} |
23 | require conf/machine/include/tune-x86_64.inc | 24 | require conf/machine/include/tune-x86_64.inc |
24 | {{ if qemuarch == "arm": }} | 25 | {{ if qemuarch == "arm": }} |
26 | require conf/machine/include/qemu.inc | ||
25 | require conf/machine/include/tune-arm926ejs.inc | 27 | require conf/machine/include/tune-arm926ejs.inc |
26 | {{ if qemuarch == "powerpc": }} | 28 | {{ if qemuarch == "powerpc": }} |
29 | require conf/machine/include/qemu.inc | ||
27 | require conf/machine/include/tune-ppc603e.inc | 30 | require conf/machine/include/tune-ppc603e.inc |
28 | {{ if qemuarch == "mips": }} | 31 | {{ if qemuarch == "mips": }} |
29 | require conf/machine/include/tune-mips32.inc | ||
30 | |||
31 | require conf/machine/include/qemu.inc | 32 | require conf/machine/include/qemu.inc |
33 | require conf/machine/include/tune-mips32.inc | ||
32 | 34 | ||
33 | {{ if qemuarch == "i386" or qemuarch == "x86_64": }} | 35 | {{ if qemuarch == "i386" or qemuarch == "x86_64": }} |
34 | MACHINE_FEATURES += "x86" | 36 | MACHINE_FEATURES += "x86" |
@@ -42,6 +44,7 @@ XSERVER ?= "xserver-xorg \ | |||
42 | xf86-input-evdev \ | 44 | xf86-input-evdev \ |
43 | xf86-video-vmware \ | 45 | xf86-video-vmware \ |
44 | qemugl" | 46 | qemugl" |
47 | require conf/machine/include/qemu.inc | ||
45 | GLIBC_ADDONS = "nptl" | 48 | GLIBC_ADDONS = "nptl" |
46 | GLIBC_EXTRA_OECONF = "--with-tls" | 49 | GLIBC_EXTRA_OECONF = "--with-tls" |
47 | 50 | ||