diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -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">✓</td>, \ + <td class="unsupported">✗</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">✓</td>, \ + <td class="unsupported">✗</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 := \ |