xen: Fix class inherit in xen-image

Remove inherit of qemuboot classes when not build for qemu in
xen-image-minimal.
When reverted the handling for only adding inherited classes for qemu
was kept but the line always inheriting them was kept to.
This patch is fixing that so that qemuboot classes are now only added
when the image is built for qemu.

This fixes commit 27e5ade0ab

Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Bertrand Marquis 2022-05-10 16:35:13 +01:00 committed by Bruce Ashfield
parent b7e5662405
commit 3e6c50b794

View File

@ -36,7 +36,7 @@ LICENSE = "MIT"
QB_NETWORK_XEN_BRIDGE = "1"
inherit core-image qemuboot-xen-defaults qemuboot-xen-dtb qemuboot-testimage-network
inherit core-image
# Only inherit the qemuboot classes when building for a qemu machine
QB_QEMU_CLASSES = ""
QB_QEMU_CLASSES:qemuall = "qemuboot-xen-defaults qemuboot-xen-dtb qemuboot-testimage-network"