diff options
author | 2018-11-15 18:45:42 +0300 | |
---|---|---|
committer | 2018-11-26 17:19:02 +0100 | |
commit | a039dd082dd40aecfbfd3562727508748ceab68d (patch) | |
tree | 7bdf65fb007456cfd39c8e25e644b9daba9dcc09 | |
parent | 5edb7ab4e4c51229719650a705d6d23b17f0cdd6 (diff) | |
download | buildroot-a039dd082dd40aecfbfd3562727508748ceab68d.tar.gz buildroot-a039dd082dd40aecfbfd3562727508748ceab68d.tar.bz2 |
package/pkg-generic.mk: fix show-build-order stdout pollution
The commands like "make show-build-order" or "make
<package>-show-build-order" show the build order and then print
"make[1]: Nothing to be done for 'show-build-order'" to stdout. It
pollutes output. Technically this message is true but it's not true
for user because he gets an information.
The <package>-show-build-order targets use $(info) for package name
printing. The make utility doesn't consider the internal directive as
a command so it think that it's "Nothing to be done". The patch adds
the empty command to <package>-show-build-order to inform make utility
that taget makes some real actions.
Signed-off-by: Serj Kalichev <serj.kalichev@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: invert $(info) and @:, as suggested by Yann.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 75c81a12f68f943af2966e737f882b3f4fc7a909)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/pkg-generic.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index a689dde4d2..d25f0f9afe 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -736,6 +736,7 @@ $(1)-show-rdepends: @echo $$($(2)_RDEPENDENCIES) $(1)-show-build-order: $$(patsubst %,%-show-build-order,$$($(2)_FINAL_ALL_DEPENDENCIES)) + @: $$(info $(1)) $(1)-graph-depends: graph-depends-requirements |