diff --git a/.gitignore b/.gitignore index 6bc75487..4309bcfa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /settings.mk +/build-matrix.html /usr/ /gits/ /log*/ diff --git a/Makefile b/Makefile index 5943565b..b60fd0c7 100644 --- a/Makefile +++ b/Makefile @@ -430,7 +430,7 @@ show-upstream-deps-%: .PHONY: clean clean: - rm -rf $(call TMP_DIR,*) $(PREFIX)/* + rm -rf $(call TMP_DIR,*) $(PREFIX)/* build-matrix.html .PHONY: clean-pkg clean-pkg: @@ -491,3 +491,55 @@ cleanup-style: rm -f $(TOP_DIR)/tmp-cleanup-style; \ ) +build-matrix.html: $(foreach PKG,$(PKGS), $(TOP_DIR)/src/$(PKG).mk) + @echo '' > $@ + @echo '' >> $@ + @echo '' >> $@ + @echo '' >> $@ + @echo 'MXE Build Matrix' >> $@ + @echo '' >> $@ + @echo '' >> $@ + @echo '' >> $@ + @echo '' >> $@ + @echo '

MXE Build Matrix

' >> $@ + @echo '

' >> $@ + @echo 'This is a table of all supported package/target' >> $@ + @echo 'matrix. Being supported means that this specific' >> $@ + @echo 'combination is working to the best of our knowledge,' >> $@ + @echo 'but does not mean that it is tested daily.' >> $@ + @echo '

' >> $@ + @echo '

' >> $@ + @echo 'If you found that some package is not working properly,'>> $@ + @echo 'please file a ticket on GitHub. If you figured out a' >> $@ + @echo 'way to make the package work for unsupported targets,' >> $@ + @echo 'feel free to submit a pull request.' >> $@ + @echo '

' >> $@ + @echo '' >> $@ + @echo '' >> $@ + @echo '' >> $@ + @echo '' >> $@ + @$(foreach TRIPLET,$(MXE_TRIPLETS), \ + echo '' >> $@;) + @echo '' >> $@ + @echo '' >> $@ + @echo '' >> $@ + @$(foreach TRIPLET,$(MXE_TRIPLETS), \ + $(foreach LIB, $(MXE_LIB_TYPES), \ + echo '' >> $@;)) + @echo '' >> $@ + @echo '' >> $@ + @echo '' >> $@ + @$(foreach PKG,$(PKGS), \ + echo '' >> $@; \ + echo '' >> $@; \ + $(foreach TARGET,$(MXE_TARGET_LIST), \ + $(if $(value $(call LOOKUP_PKG_RULE,$(PKG),BUILD,$(TARGET))), \ + echo '' >> $@;, \ + echo '' >> $@;)) \ + $(if $(call set_is_member,$(PKG),$(BUILD_PKGS)), \ + echo '' >> $@;, \ + echo '' >> $@;)) + @echo '' >> $@ + @echo '
Package$(TRIPLET)Native
$(LIB)
$(PKG)YNYN
' >> $@ + @echo '' >> $@ + diff --git a/assets/build-matrix.css b/assets/build-matrix.css new file mode 100644 index 00000000..4d03da17 --- /dev/null +++ b/assets/build-matrix.css @@ -0,0 +1,15 @@ +/* This file is part of MXE. + * See index.html for further information. */ + +table.fullscreen { + width: 100%; +} + +td.supported { + background-color: #98fb98; + text-align: center; +} +td.unsupported { + background-color: #f99; + text-align: center; +} diff --git a/index.html b/index.html index aa8ff072..2ee18960 100644 --- a/index.html +++ b/index.html @@ -999,6 +999,13 @@ local-pkg-list: $(LOCAL_PKG_LIST) suitable for usage in shell scripts +
make build-matrix.html
+ +
+ generate a report of what packages are + supported on what targets to build-matrix.html +
+
make update