qemu-trivial
[Top][All Lists]
Advanced

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

Re: [Qemu-trivial] [Qemu-devel] [PATCH] build-sys: make help could have


From: Fam Zheng
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH] build-sys: make help could have 'modules' target
Date: Wed, 7 Mar 2018 09:38:31 +0800
User-agent: Mutt/1.9.2 (2017-12-15)

On Tue, 03/06 17:17, Marc-André Lureau wrote:
> Available when configure --enable-modules.
> 
> Signed-off-by: Marc-André Lureau <address@hidden>
> ---
>  Makefile | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Makefile b/Makefile
> index 9a75c48ae0..5d9ef3b8fd 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1046,6 +1046,9 @@ include $(SRC_PATH)/tests/vm/Makefile.include
>  help:
>       @echo  'Generic targets:'
>       @echo  '  all             - Build all'
> +ifdef CONFIG_MODULES
> +     @echo  '  modules         - Build all modules'
> +endif

Hi Marc-André,

I'd just remove the 'ifdef' condition and include the line everywhere, since
this is the help. The behavior is fine even without running ./configure:

$ make modules
make: Nothing to be done for 'modules'.
$ make all
make: Nothing to be done for 'all'.

Fam



reply via email to

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