qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 3/4] tools: edid-generate.c is part of the tools


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 3/4] tools: edid-generate.c is part of the tools
Date: Tue, 26 Mar 2019 09:42:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1

On 21/03/19 13:46, Laurent Vivier wrote:
> 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 <address@hidden>
> ---
>  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

Is this needed?  The dependency on

qemu-edid$(EXESUF): qemu-edid.o hw/display/edid-generate.o $(COMMON_LDADDS)

should be enough for the Makefiles to build hw/display/edid-generate.o.

Paolo

>  #######################################################################
>  # Target-independent parts used in system and user emulation
>  common-obj-y += cpus-common.o
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]