summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTimothyGu <timothygu99@gmail.com>2014-10-10 23:09:27 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-10-10 23:31:03 (GMT)
commite21b72819480529e6a61590b14d7b992e6200584 (patch)
tree274a0178d12037457c3577c30a31b75fdb66b8e7 /Makefile
parentf3a7e0f2d01241ac2d69cf3ecfa69b8027f9f01c (diff)
downloadmxe-e21b72819480529e6a61590b14d7b992e6200584.zip
mxe-e21b72819480529e6a61590b14d7b992e6200584.tar.gz
mxe-e21b72819480529e6a61590b14d7b992e6200584.tar.bz2
build-matrix: use $(newline) instead of ; to enter command
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 37b1297..d3d37ca 100644
--- a/Makefile
+++ b/Makefile
@@ -604,20 +604,20 @@ build-matrix.html: $(foreach PKG,$(PKGS), $(TOP_DIR)/src/$(PKG).mk)
@$(foreach PKG,$(PKGS), \
$(eval $(PKG)_VIRTUAL := $(true)) \
$(eval $(PKG)_BUILD_ONLY := $(true)) \
- echo '<tr>' >> $@; \
- echo '<th class="row">$(PKG)</th>' >> $@; \
+ echo '<tr>' >> $@ $(newline) \
+ echo '<th class="row">$(PKG)</th>' >> $@ $(newline) \
$(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">&#x2713;</td>' >> $@;, \
- echo '<td class="unsupported">&#x2717;</td>' >> $@;)) \
+ echo '<td class="supported">&#x2713;</td>' >> $@ $(newline), \
+ echo '<td class="unsupported">&#x2717;</td>' >> $@ $(newline))) \
$(if $(call set_is_member,$(PKG),$(BUILD_PKGS)), \
$(eval BUILD_PKGCOUNT := $(call inc,$(BUILD_PKGCOUNT))) \
$(eval $(PKG)_VIRTUAL := $(false)) \
- echo '<td class="supported">&#x2713;</td>' >> $@;, \
- echo '<td class="unsupported">&#x2717;</td>' >> $@;) \
+ echo '<td class="supported">&#x2713;</td>' >> $@ $(newline), \
+ echo '<td class="unsupported">&#x2717;</td>' >> $@ $(newline)) \
$(if $($(PKG)_VIRTUAL), \
$(eval VIRTUAL_PKGCOUNT := $(call inc,$(VIRTUAL_PKGCOUNT)))) \
$(if $($(PKG)_BUILD_ONLY), \
@@ -632,7 +632,7 @@ build-matrix.html: $(foreach PKG,$(PKGS), $(TOP_DIR)/src/$(PKG).mk)
@echo 'Total: $(TOTAL_PKGCOUNT)<br>(+$(VIRTUAL_PKGCOUNT) virtual +$(BUILD_ONLY_PKGCOUNT) native-only)' >> $@
@echo '</th>' >> $@
@$(foreach TARGET,$(MXE_TARGET_LIST), \
- echo '<th>$($(TARGET)_PKGCOUNT)</th>' >> $@;)
+ echo '<th>$($(TARGET)_PKGCOUNT)</th>' >> $@ $(newline))
@echo '<th>$(BUILD_PKGCOUNT)</th>' >> $@
@echo '</tr>' >> $@
@echo '</tbody>' >> $@