[coreboot-gerrit] Patch set updated for coreboot: Makefile: Make printall target more readable
Martin Roth (martinroth@google.com)
gerrit at coreboot.org
Mon Jun 6 21:41:49 CEST 2016
Martin Roth (martinroth at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15077
-gerrit
commit 2dea2102f5a70679eb6cc8fa02a60349337b7165
Author: Martin Roth <martinroth at google.com>
Date: Sun Jun 5 10:52:43 2016 -0600
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 at google.com>
---
Makefile | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
index 4380d97..c502d2c 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
More information about the coreboot-gerrit
mailing list