mirror of https://git.wownero.com/dsc/mxe.git
build-matrix: use $(words $(BUILD_PKGS)) instead of counting
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
parent
7f24485686
commit
2bf824b5a7
3
Makefile
3
Makefile
|
@ -616,7 +616,6 @@ build-matrix.html: $(foreach PKG,$(PKGS), $(TOP_DIR)/src/$(PKG).mk)
|
|||
<td class="supported">✓</td>, \
|
||||
<td class="unsupported">✗</td>)\n) \
|
||||
$(if $(call set_is_member,$(PKG),$(BUILD_PKGS)), \
|
||||
$(eval BUILD_PKGCOUNT := $(call inc,$(BUILD_PKGCOUNT))) \
|
||||
$(eval $(PKG)_VIRTUAL := $(false)) \
|
||||
<td class="supported">✓</td>, \
|
||||
<td class="unsupported">✗</td>)\n \
|
||||
|
@ -636,7 +635,7 @@ build-matrix.html: $(foreach PKG,$(PKGS), $(TOP_DIR)/src/$(PKG).mk)
|
|||
@echo '</th>' >> $@
|
||||
@$(foreach TARGET,$(MXE_TARGET_LIST), \
|
||||
echo '<th>$($(TARGET)_PKGCOUNT)</th>' >> $@;)
|
||||
@echo '<th>$(BUILD_PKGCOUNT)</th>' >> $@
|
||||
@echo '<th>$(words $(BUILD_PKGS))</th>' >> $@
|
||||
@echo '</tr>' >> $@
|
||||
@echo '</tbody>' >> $@
|
||||
@echo '</table>' >> $@
|
||||
|
|
Loading…
Reference in New Issue