Skip to contentSkip to conversation

Makefile: add help for show-targets command

PATCH New Vadim Kochan 3 participants 3 messages Aug 12, 2019 – Aug 26, 2019 Kbuild

lore
Share & tools
lore
#0 lore raw

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

Add help output for "show-targets" command.

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)
Makefile +1 -0
index 406efd1ab6..8d2070b5d0 100644
@@ -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'
 	@echo
 	@echo '  make V=0|1             - 0 => quiet build (default), 1 => verbose build'
 	@echo '  make O=dir             - Locate all output files in "dir", including .config'
Signature · 1 line
2.22.0
#1 lore raw

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

Hello Vadim,

+Yann in Cc to gather his opinion.

Quoted 12 lines · On Mon, 12 Aug 2019 22:47:58 +0300 Vadim Kochan <[email protected]> wrote:

Add help output for "show-targets" command.

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)
Makefile +0 -0
index 406efd1ab6..8d2070b5d0 100644

Makefile help: · line 1135

Quoted 4 lines
Makefile +1 -0
@@ -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

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

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

Quoted 26 lines · Thomas Petazzoni

Hello Vadim,

+Yann in Cc to gather his opinion.

Quoted 12 lines · On Mon, 12 Aug 2019 22:47:58 +0300 Vadim Kochan <[email protected]> wrote:

Add help output for "show-targets" command.

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)
Makefile +0 -0
index 406efd1ab6..8d2070b5d0 100644

Makefile help: · line 1135

Quoted 4 lines
Makefile +1 -0
@@ -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.

Quoted 5 lines

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.

+1 to get rid of it.

Regards,
Arnout