diff options
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu.inc')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu.inc | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 4d764d3985..d717e2b77e 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc | |||
@@ -1,10 +1,10 @@ | |||
1 | SUMMARY = "Fast open source processor emulator" | 1 | SUMMARY = "Fast open source processor emulator" |
2 | HOMEPAGE = "http://qemu.org" | 2 | HOMEPAGE = "http://qemu.org" |
3 | LICENSE = "GPLv2 & LGPLv2.1" | 3 | LICENSE = "GPLv2 & LGPLv2.1" |
4 | DEPENDS = "glib-2.0 zlib alsa-lib pixman \ | 4 | DEPENDS = "glib-2.0 zlib pixman \ |
5 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}" | 5 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}" |
6 | DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native pixman-native dtc-native" | 6 | DEPENDS_class-native = "zlib-native glib-2.0-native pixman-native" |
7 | DEPENDS_class-nativesdk = "nativesdk-zlib nativesdk-libsdl nativesdk-glib-2.0 nativesdk-pixman nativesdk-dtc" | 7 | DEPENDS_class-nativesdk = "nativesdk-zlib nativesdk-glib-2.0 nativesdk-pixman" |
8 | RDEPENDS_${PN}_class-nativesdk = "nativesdk-libsdl" | 8 | RDEPENDS_${PN}_class-nativesdk = "nativesdk-libsdl" |
9 | RDEPENDS_${PN}_class-target += "bash python" | 9 | RDEPENDS_${PN}_class-target += "bash python" |
10 | 10 | ||
@@ -26,7 +26,7 @@ SRC_URI_append_class-native = "\ | |||
26 | file://fix-libcap-header-issue-on-some-distro.patch \ | 26 | file://fix-libcap-header-issue-on-some-distro.patch \ |
27 | " | 27 | " |
28 | 28 | ||
29 | EXTRA_OECONF += "--target-list=${@get_qemu_target_list(d)} --disable-werror --audio-drv-list=oss,alsa --disable-bluez --with-system-pixman --extra-cflags='${CFLAGS}'" | 29 | EXTRA_OECONF += "--target-list=${@get_qemu_target_list(d)} --disable-werror --disable-bluez --with-system-pixman --extra-cflags='${CFLAGS}'" |
30 | 30 | ||
31 | EXTRA_OECONF_class-nativesdk = "--target-list=${@get_qemu_target_list(d)} --disable-werror \ | 31 | EXTRA_OECONF_class-nativesdk = "--target-list=${@get_qemu_target_list(d)} --disable-werror \ |
32 | " | 32 | " |
@@ -83,7 +83,9 @@ do_install_append() { | |||
83 | } | 83 | } |
84 | # END of qemu-mips workaround | 84 | # END of qemu-mips workaround |
85 | 85 | ||
86 | PACKAGECONFIG ??= "fdt sdl" | 86 | PACKAGECONFIG ??= "fdt sdl alsa" |
87 | PACKAGECONFIG_class-native ??= "fdt alsa" | ||
88 | PACKAGECONFIG_class-nativesdk ??= "fdt sdl" | ||
87 | PACKAGECONFIG[virtfs] = "--enable-virtfs --enable-attr,--disable-virtfs,libcap attr," | 89 | PACKAGECONFIG[virtfs] = "--enable-virtfs --enable-attr,--disable-virtfs,libcap attr," |
88 | PACKAGECONFIG[aio] = "--enable-linux-aio,--disable-linux-aio,libaio," | 90 | PACKAGECONFIG[aio] = "--enable-linux-aio,--disable-linux-aio,libaio," |
89 | PACKAGECONFIG[xfs] = "--enable-xfsctl,--disable-xfsctl,xfsprogs," | 91 | PACKAGECONFIG[xfs] = "--enable-xfsctl,--disable-xfsctl,xfsprogs," |
@@ -104,6 +106,9 @@ PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,libsdl," | |||
104 | PACKAGECONFIG[ssh2] = "--enable-libssh2,--disable-libssh2,libssh2," | 106 | PACKAGECONFIG[ssh2] = "--enable-libssh2,--disable-libssh2,libssh2," |
105 | PACKAGECONFIG[libusb] = "--enable-libusb,--disable-libusb,libusb1" | 107 | PACKAGECONFIG[libusb] = "--enable-libusb,--disable-libusb,libusb1" |
106 | PACKAGECONFIG[fdt] = "--enable-fdt,--disable-fdt,dtc" | 108 | PACKAGECONFIG[fdt] = "--enable-fdt,--disable-fdt,dtc" |
109 | PACKAGECONFIG[alsa] = ",,alsa-lib" | ||
110 | |||
111 | EXTRA_OECONF += "${@bb.utils.contains('PACKAGECONFIG', 'alsa', '--audio-drv-list=oss,alsa', '', d)}" | ||
107 | 112 | ||
108 | # Qemu target will not build in world build for ARM or Mips | 113 | # Qemu target will not build in world build for ARM or Mips |
109 | BROKEN_qemuarm = "1" | 114 | BROKEN_qemuarm = "1" |