summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTobias Gruetzmacher <tobias-git@23.gs>2014-10-09 17:55:22 (GMT)
committerTobias Gruetzmacher <tobias-git@23.gs>2014-10-09 18:02:23 (GMT)
commit3797d4eb036f08b349c457fc69ae625c8534409d (patch)
treea71a43889067d0df103a5cd0172edf39bf768525 /Makefile
parent2cf4af82fdeea6263369ce061d18ce53ef65e13b (diff)
downloadmxe-3797d4eb036f08b349c457fc69ae625c8534409d.zip
mxe-3797d4eb036f08b349c457fc69ae625c8534409d.tar.gz
mxe-3797d4eb036f08b349c457fc69ae625c8534409d.tar.bz2
Make build matrix output a bit nicer.
This swithes the "Y" and "N" in the cells with nice symbols (✓ and ✗). This also tries to shorten the cammand line a bit since this still runs into "Argument list too long" errors on some systems...
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 8e4f685..53fb99b 100644
--- a/Makefile
+++ b/Makefile
@@ -601,27 +601,29 @@ build-matrix.html: $(foreach PKG,$(PKGS), $(TOP_DIR)/src/$(PKG).mk)
@echo '</tr>' >> $@
@echo '</thead>' >> $@
@echo '<tbody>' >> $@
- @$(foreach PKG,$(PKGS), \
+ @{ $(foreach PKG,$(PKGS), \
$(eval $(PKG)_VIRTUAL := $(true)) \
$(eval $(PKG)_BUILD_ONLY := $(true)) \
- echo '<tr>' >> $@; \
- echo '<th class="row">$(PKG)</th>' >> $@; \
+ echo '<tr> \
+ <th class="row">$(PKG)</th> \
$(foreach TARGET,$(MXE_TARGET_LIST), \
$(if $(value $(call LOOKUP_PKG_RULE,$(PKG),BUILD,$(TARGET))), \
$(eval $(TARGET)_PKGCOUNT := $(call inc,$($(TARGET)_PKGCOUNT))) \
$(eval $(PKG)_VIRTUAL := $(false)) \
$(eval $(PKG)_BUILD_ONLY := $(false)) \
- echo '<td class="supported">Y</td>' >> $@;, \
- echo '<td class="unsupported">N</td>' >> $@;)) \
+ <td class="supported">&#x2713;</td>, \
+ <td class="unsupported">&#x2717;</td>)) \
$(if $(call set_is_member,$(PKG),$(BUILD_PKGS)), \
$(eval BUILD_PKGCOUNT := $(call inc,$(BUILD_PKGCOUNT))) \
$(eval $(PKG)_VIRTUAL := $(false)) \
- echo '<td class="supported">Y</td>' >> $@;, \
- echo '<td class="unsupported">N</td>' >> $@;) \
+ <td class="supported">&#x2713;</td>, \
+ <td class="unsupported">&#x2717;</td>) \
+ </tr>'; \
$(if $($(PKG)_VIRTUAL), \
$(eval VIRTUAL_PKGCOUNT := $(call inc,$(VIRTUAL_PKGCOUNT)))) \
$(if $($(PKG)_BUILD_ONLY), \
- $(eval BUILD_ONLY_PKGCOUNT := $(call inc,$(BUILD_ONLY_PKGCOUNT)))))
+ $(eval BUILD_ONLY_PKGCOUNT := $(call inc,$(BUILD_ONLY_PKGCOUNT))))) \
+ } >> $@
@echo '<tr>' >> $@
@# TOTAL_PKGCOUNT = ( PKGS - VIRTUAL ) - BUILD_ONLY
$(eval TOTAL_PKGCOUNT := \