This reverts commit 8d5a24c83d
.
Compiling all virtio-gpu objects into a single module isn't a good plan
because the individual objects have different CONFIG_* dependencies.
Leads to module load failures on s390x due to vga support being
disabled, which in turn breaks '-device virtio-gpu-device' (flagged by
travis ci).
So back to the drawing board for modular virtio-gpu ...
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200710203652.9708-3-kraxel@redhat.com>
66 lines
2.5 KiB
Makefile
66 lines
2.5 KiB
Makefile
common-obj-$(CONFIG_DDC) += i2c-ddc.o
|
|
common-obj-$(CONFIG_EDID) += edid-generate.o edid-region.o
|
|
|
|
common-obj-$(CONFIG_FW_CFG_DMA) += ramfb.o
|
|
common-obj-$(CONFIG_FW_CFG_DMA) += ramfb-standalone.o
|
|
|
|
common-obj-$(CONFIG_ADS7846) += ads7846.o
|
|
common-obj-$(CONFIG_VGA_CIRRUS) += cirrus_vga.o
|
|
common-obj-$(call land,$(CONFIG_VGA_CIRRUS),$(CONFIG_VGA_ISA))+=cirrus_vga_isa.o
|
|
common-obj-$(CONFIG_G364FB) += g364fb.o
|
|
common-obj-$(CONFIG_JAZZ_LED) += jazz_led.o
|
|
common-obj-$(CONFIG_PL110) += pl110.o
|
|
common-obj-$(CONFIG_SII9022) += sii9022.o
|
|
common-obj-$(CONFIG_SSD0303) += ssd0303.o
|
|
common-obj-$(CONFIG_SSD0323) += ssd0323.o
|
|
common-obj-$(CONFIG_XEN) += xenfb.o
|
|
|
|
common-obj-$(CONFIG_VGA_PCI) += vga-pci.o
|
|
common-obj-$(CONFIG_VGA_ISA) += vga-isa.o
|
|
common-obj-$(CONFIG_VGA_ISA_MM) += vga-isa-mm.o
|
|
common-obj-$(CONFIG_VMWARE_VGA) += vmware_vga.o
|
|
common-obj-$(CONFIG_BOCHS_DISPLAY) += bochs-display.o
|
|
|
|
common-obj-$(CONFIG_BLIZZARD) += blizzard.o
|
|
common-obj-$(CONFIG_EXYNOS4) += exynos4210_fimd.o
|
|
common-obj-$(CONFIG_FRAMEBUFFER) += framebuffer.o
|
|
common-obj-$(CONFIG_MILKYMIST) += milkymist-vgafb.o
|
|
common-obj-$(CONFIG_ZAURUS) += tc6393xb.o
|
|
common-obj-$(CONFIG_MACFB) += macfb.o
|
|
|
|
obj-$(CONFIG_MILKYMIST_TMU2) += milkymist-tmu2.o
|
|
milkymist-tmu2.o-cflags := $(X11_CFLAGS) $(OPENGL_CFLAGS)
|
|
milkymist-tmu2.o-libs := $(X11_LIBS) $(OPENGL_LIBS)
|
|
|
|
common-obj-$(CONFIG_OMAP) += omap_dss.o
|
|
obj-$(CONFIG_OMAP) += omap_lcdc.o
|
|
common-obj-$(CONFIG_PXA2XX) += pxa2xx_lcd.o
|
|
common-obj-$(CONFIG_RASPI) += bcm2835_fb.o
|
|
common-obj-$(CONFIG_SM501) += sm501.o
|
|
common-obj-$(CONFIG_TCX) += tcx.o
|
|
common-obj-$(CONFIG_CG3) += cg3.o
|
|
common-obj-$(CONFIG_NEXTCUBE) += next-fb.o
|
|
common-obj-$(CONFIG_ARTIST) += artist.o
|
|
|
|
obj-$(CONFIG_VGA) += vga.o
|
|
|
|
ifeq ($(CONFIG_QXL),y)
|
|
common-obj-m += qxl.mo
|
|
qxl.mo-objs = qxl.o qxl-logger.o qxl-render.o
|
|
endif
|
|
|
|
common-obj-$(CONFIG_VIRTIO_GPU) += virtio-gpu-base.o virtio-gpu.o virtio-gpu-3d.o
|
|
common-obj-$(CONFIG_VHOST_USER_GPU) += vhost-user-gpu.o
|
|
common-obj-$(call land,$(CONFIG_VIRTIO_GPU),$(CONFIG_VIRTIO_PCI)) += virtio-gpu-pci.o
|
|
common-obj-$(call land,$(CONFIG_VHOST_USER_GPU),$(CONFIG_VIRTIO_PCI)) += vhost-user-gpu-pci.o
|
|
common-obj-$(CONFIG_VIRTIO_VGA) += virtio-vga.o
|
|
common-obj-$(CONFIG_VHOST_USER_VGA) += vhost-user-vga.o
|
|
virtio-gpu.o-cflags := $(VIRGL_CFLAGS)
|
|
virtio-gpu.o-libs += $(VIRGL_LIBS)
|
|
virtio-gpu-3d.o-cflags := $(VIRGL_CFLAGS)
|
|
virtio-gpu-3d.o-libs += $(VIRGL_LIBS)
|
|
common-obj-$(CONFIG_DPCD) += dpcd.o
|
|
common-obj-$(CONFIG_XLNX_ZYNQMP_ARM) += xlnx_dp.o
|
|
|
|
common-obj-$(CONFIG_ATI_VGA) += ati.o ati_2d.o ati_dbg.o
|