require recipes-devtools/qemu/qemu.inc
require qemu-xilinx.inc

BBCLASSEXTEND = "nativesdk"

RDEPENDS_${PN}_class-target += "bash"

EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}"
EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}"

do_install_append_class-nativesdk() {
    ${@bb.utils.contains('PACKAGECONFIG', 'gtk+', 'make_qemu_wrapper', '', d)}
}

require recipes-devtools/qemu/qemu.inc
require qemu-xilinx.inc

BBCLASSEXTEND = "nativesdk"

RDEPENDS_${PN}_class-target += "bash"

PROVIDES_class-nativesdk = "nativesdk-qemu"
RPROVIDES_${PN}_class-nativesdk = "nativesdk-qemu"

EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}"
EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}"

do_install_append_class-nativesdk() {
    ${@bb.utils.contains('PACKAGECONFIG', 'gtk+', 'make_qemu_wrapper', '', d)}
}

Enable qemu-xilinx to provide nativesdk-qemu
qemu-xilinx: Enable qemu-xilinx to provide nativesdk-qemu

Enable qemu-xilinx to provide nativeask-qemu for sdk builds

Signed-off-by: Sai Hari Chandana Kalluri <dcd6f85a7bffd89d026445db0f5113d6d436d06a@xilinx.com>
Signed-off-by: Mark Hatle <41765ab18fb75e64ff0efe27f2ebcdb2d6f7e44e@xilinx.com>
