[Buildroot] [PATCH 1/1] Makefile: add help for show-targets command

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Aug 12 20:43:52 UTC 2019


Hello Vadim,

+Yann in Cc to gather his opinion.

On Mon, 12 Aug 2019 22:47:58 +0300
Vadim Kochan <vadim4j at gmail.com> wrote:

> Add help output for "show-targets" command.
> 
> Signed-off-by: Vadim Kochan <vadim4j at gmail.com>
> ---
>  Makefile | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Makefile b/Makefile
> index 406efd1ab6..8d2070b5d0 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1132,6 +1132,7 @@ help:
>  	@echo '  legal-info             - generate info about license compliance'
>  	@echo '  show-info              - generate info about packages, as a JSON blurb'
>  	@echo '  printvars              - dump internal variables selected with VARS=...'
> +	@echo '  show-targets           - list targets of selected packages'

It does not show only packages, but also rootfs images that will be generated.

I don't know if we want to document this target, it's really an
"internal" one. It used to be used by some scripts, but with the new
JSON show-info, show-targets is no longer used.

We could even get rid of it in fact.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list