qemu: Improve and add PACKAGECONFIG options
Move the '--disable-bluez' and '--disable-iscsi' options to PACKAGECONFIG. And added the ${BLUEZ} dependency. Fix up the 'gcrypt' option to depend on 'libgcrypt' instead of gcrypt. This is the expected dependency as noted in the QEMU configure help. Handle the '--audio-drv-list' option inside the PACKAGECONFIG[alsa] args. The previous setting uses a ',' to denote the options for the arg however a space inside quotes is also acceptable and allows the arg to be used into the PACKAGECONFIG flag. (From OE-Core rev: 0aca9b735c6f9d7ffe2826e624942a563c501d1f) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
5738f86f99
commit
7065bb2148
|
@ -6,7 +6,7 @@ RDEPENDS_${PN}_class-target += "bash"
|
|||
RDEPENDS_${PN}-ptest = "bash make"
|
||||
|
||||
require qemu-targets.inc
|
||||
inherit autotools pkgconfig ptest
|
||||
inherit autotools pkgconfig ptest bluetooth
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
# QEMU_TARGETS is overridable variable
|
||||
|
@ -26,7 +26,7 @@ SRC_URI_append_class-native = "\
|
|||
file://cpus.c-qemu_cpu_kick_thread_debugging.patch \
|
||||
"
|
||||
|
||||
EXTRA_OECONF += "--target-list=${@get_qemu_target_list(d)} --disable-werror --disable-bluez --disable-libiscsi --with-system-pixman --extra-cflags='${CFLAGS}'"
|
||||
EXTRA_OECONF += "--target-list=${@get_qemu_target_list(d)} --disable-werror --with-system-pixman --extra-cflags='${CFLAGS}'"
|
||||
|
||||
EXTRA_OECONF_class-nativesdk = "--target-list=${@get_qemu_target_list(d)} --disable-werror"
|
||||
EXTRA_OECONF_append_class-native = " --python=${USRBINPATH}/python2"
|
||||
|
@ -120,17 +120,17 @@ PACKAGECONFIG[curses] = "--enable-curses,--disable-curses,ncurses,"
|
|||
PACKAGECONFIG[gtk+] = "--enable-gtk --with-gtkabi=3.0 --enable-vte,--disable-gtk --disable-vte,gtk+3 vte"
|
||||
PACKAGECONFIG[libcap-ng] = "--enable-cap-ng,--disable-cap-ng,libcap-ng,"
|
||||
PACKAGECONFIG[ssh2] = "--enable-libssh2,--disable-libssh2,libssh2,"
|
||||
PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,gcrypt,"
|
||||
PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt,"
|
||||
PACKAGECONFIG[nettle] = "--enable-nettle,--disable-nettle,nettle"
|
||||
PACKAGECONFIG[libusb] = "--enable-libusb,--disable-libusb,libusb1"
|
||||
PACKAGECONFIG[fdt] = "--enable-fdt,--disable-fdt,dtc"
|
||||
PACKAGECONFIG[alsa] = ",,alsa-lib"
|
||||
PACKAGECONFIG[alsa] = "--audio-drv-list='oss alsa',,alsa-lib"
|
||||
PACKAGECONFIG[glx] = "--enable-opengl,--disable-opengl,mesa"
|
||||
PACKAGECONFIG[lzo] = "--enable-lzo,--disable-lzo,lzo"
|
||||
PACKAGECONFIG[numa] = "--enable-numa,--disable-numa,numactl"
|
||||
PACKAGECONFIG[gnutls] = "--enable-gnutls,--disable-gnutls,gnutls"
|
||||
PACKAGECONFIG[bzip2] = "--enable-bzip2,--disable-bzip2,bzip2"
|
||||
|
||||
EXTRA_OECONF += "${@bb.utils.contains('PACKAGECONFIG', 'alsa', '--audio-drv-list=oss,alsa', '', d)}"
|
||||
PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,${BLUEZ}"
|
||||
PACKAGECONFIG[libiscsi] = "--enable-libiscsi,--disable-libiscsi"
|
||||
|
||||
INSANE_SKIP_${PN} = "arch"
|
||||
|
|
Loading…
Reference in New Issue