]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw/dma: Compile the bcm2835_dma device as common object
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 29 Apr 2019 16:36:03 +0000 (17:36 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 29 Apr 2019 16:36:03 +0000 (17:36 +0100)
This device is used by both ARM (BCM2836, for raspi2) and AArch64
(BCM2837, for raspi3) targets, and is not CPU-specific.
Move it to common object, so we build it once for all targets.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190427133028.12874-1-philmd@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/dma/Makefile.objs

index 79affecc3903fa784d466c76520de7a94ba8952f..8b39f9c60047674d84a10d32ca3b781534bacaab 100644 (file)
@@ -14,4 +14,4 @@ common-obj-$(CONFIG_XLNX_ZYNQMP_ARM) += xlnx-zdma.o
 
 obj-$(CONFIG_OMAP) += omap_dma.o soc_dma.o
 obj-$(CONFIG_PXA2XX) += pxa2xx_dma.o
-obj-$(CONFIG_RASPI) += bcm2835_dma.o
+common-obj-$(CONFIG_RASPI) += bcm2835_dma.o