Change Makefile.objs to use CONFIG_XEN instead of CONFIG_XEN_BACKEND, so that the Xen backends are only built for targets that support Xen. Set CONFIG_XEN in the toplevel Makefile to ensure that files that are built only once pick up Xen support properly. Signed-off-by: Stefano Stabellini <stefano@aporeto.com> Tested-by: Greg Kurz <groug@kaod.org> Reviewed-by: Greg Kurz <groug@kaod.org> CC: pbonzini@redhat.com CC: peter.maydell@linaro.org CC: rth@twiddle.net CC: stefanha@redhat.com Message-Id: <1489694518-16978-1-git-send-email-sstabellini@kernel.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
16 lines
524 B
Makefile
16 lines
524 B
Makefile
common-obj-y += block.o cdrom.o hd-geometry.o
|
|
common-obj-$(CONFIG_FDC) += fdc.o
|
|
common-obj-$(CONFIG_SSI_M25P80) += m25p80.o
|
|
common-obj-$(CONFIG_NAND) += nand.o
|
|
common-obj-$(CONFIG_PFLASH_CFI01) += pflash_cfi01.o
|
|
common-obj-$(CONFIG_PFLASH_CFI02) += pflash_cfi02.o
|
|
common-obj-$(CONFIG_XEN) += xen_disk.o
|
|
common-obj-$(CONFIG_ECC) += ecc.o
|
|
common-obj-$(CONFIG_ONENAND) += onenand.o
|
|
common-obj-$(CONFIG_NVME_PCI) += nvme.o
|
|
|
|
obj-$(CONFIG_SH4) += tc58128.o
|
|
|
|
obj-$(CONFIG_VIRTIO) += virtio-blk.o
|
|
obj-$(CONFIG_VIRTIO) += dataplane/
|