We don't need it for softmmu targets. This is needed for next patch that will build hw/ directory only for softmmu and not for tools.
Signed-off-by: Laurent Vivier <lviv...@redhat.com> --- Makefile.objs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.objs b/Makefile.objs index d90123f1d0a3..3538789808af 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -87,6 +87,11 @@ common-obj-y += qmp.o hmp.o common-obj-y += qapi/ endif +ifneq ($(CONFIG_USER_ONLY),y) +# hw/display/edid-generate.c is needed by qemu-edid +common-obj-y += hw/display/ +endif + ####################################################################### # Target-independent parts used in system and user emulation common-obj-y += cpus-common.o -- 2.20.1