summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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 := \