meta-virtualization/recipes-devtools/qemu/qemu-package-split.inc
Bruce Ashfield 0257d67a89 qemu: change packaging when vmsep is enabled
When hosts are using VM separation features, they need qemu
on the target to launch guests (and for other purposes) .. but
they do not want *all* of the build qemu targets. To allow a
more fine grained installation off qemu components, this patch
splits packaging into:

  - qemu-<arch>
  - qemu-support
  - qemu-keymaps

Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
2019-12-17 18:07:33 -08:00

45 lines
1.9 KiB
PHP

PACKAGES_prepend_class-target = "${PN}-x86_64 \
${PN}-aarch64 \
${PN}-arm \
${PN}-i386 \
${PN}-system-i386 \
${PN}-microblaze \
${PN}-support \
${PN}-keymaps \
${PN}-firmware \
"
FILES_${PN}-x86_64_class-target = "${bindir}/qemu-system-x86_64 ${bindir}/qemu-x86_64"
RDEPENDS_${PN}-x86_64_append_class_target = "${PN}"
INSANE_SKIP_${PN}-x86_64_class-target = "file-rdeps"
FILES_${PN}-i386_class-target = "${bindir}/qemu-i386"
RDEPENDS_${PN}-i386_append_class-target = "${PN}"
INSANE_SKIP_${PN}-i386_class-target = "file-rdeps"
FILES_${PN}-system-i386_class-target = "${bindir}/qemu-system-i386"
RDEPENDS_${PN}-system-i386_append_class-target = "${PN}"
INSANE_SKIP_${PN}-system-i386_class-target = "file-rdeps"
FILES_${PN}-aarch64_class-target = "${bindir}/qemu-system-aarch64 ${bindir}/qemu-aarch64"
RDEPENDS_${PN}-aarch64_append_class-target = "${PN}"
INSANE_SKIP_${PN}-aarch64_class-target = "file-rdeps"
FILES_${PN}-arm_class-target = "${bindir}/qemu-system-arm ${bindir}/qemu-arm"
RDEPENDS_${PN}-arm_append_class-target = "${PN}"
INSANE_SKIP_${PN}-arm_class-target = "file-rdeps"
FILES_${PN}-microblaze_class-target = "${bindir}/qemu-system-microblaze* ${bindir}/qemu-microblaze*"
RDEPENDS_${PN}-microblaze_append_class-target = "${PN}"
INSANE_SKIP_${PN}-arm_class-target = "file-rdeps"
FILES_${PN}-support_class-target = "${bindir}/* ${libexecdir}/*"
RDEPENDS_${PN}-support_class-target = "${PN}"
FILES_${PN}-firmware_class-target = "${datadir}/${PN}/*.bin ${datadir}/${PN}/*.rom ${datadir}/${PN}/*.img ${datadir}/${PN}/openbios* ${datadir}/${PN}/*.dtb ${datadir}/${PN}/u-boot*"
RDEPENDS_${PN}-firmware_class-target = "${PN}"
INSANE_SKIP_${PN}-firmware_class-target = "arch"
FILES_${PN}-keymaps_class-target = "${datadir}/${PN}/keymaps/*"
RDEPENDS_${PN}-keymaps_class-target = "${PN}"