summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2016-06-05 10:52:43 -0600
committerMartin Roth <martinroth@google.com>2016-06-07 23:31:17 +0200
commit09b6444b888d34338ce8fb6978a40260597b3161 (patch)
tree34155a03bdbb64a5bffe9a36304a2437a03d87ec
parentf7f1244bc64cc45b732e0fdc1fcb528e45f62e19 (diff)
downloadcoreboot-09b6444b888d34338ce8fb6978a40260597b3161.tar.xz
Makefile: Make printall target more readable
- Put each piece of data from the printall target on its own line. - Add a blank line between each section. Change-Id: I50068690ab6795b7ef211865f3798c87debf2a07 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/15077 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
-rw-r--r--Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 4380d97569..c502d2c793 100644
--- a/Makefile
+++ b/Makefile
@@ -271,12 +271,11 @@ DEPENDENCIES += $(addsuffix .d,$(basename $(allobjs)))
-include $(DEPENDENCIES)
printall:
- @$(foreach class,$(classes),echo $(class)-objs:=$($(class)-objs); )
- @echo alldirs:=$(alldirs)
- @echo allsrcs=$(allsrcs)
- @echo DEPENDENCIES=$(DEPENDENCIES)
- @$(foreach class,$(special-classes),echo $(class):='$($(class))'; )
-
+ @$(foreach class,$(classes), echo $(class)-objs: $($(class)-objs) | tr ' ' '\n'; echo; )
+ @echo alldirs: $(alldirs) | tr ' ' '\n'; echo
+ @echo allsrcs: $(allsrcs) | tr ' ' '\n'; echo
+ @echo DEPENDENCIES: $(DEPENDENCIES) | tr ' ' '\n'; echo
+ @$(foreach class,$(special-classes),echo $(class):'$($(class))' | tr ' ' '\n'; echo; )
endif
ifndef NOMKDIR