Hi, attached patch adds a BUILD_EVERYTHING flag to Makefile that sets all CONFIG_* flags to "yes" if they were "no".
This provides a comfortable way to ensure maximum code exposure to tools like coverity[0] or clang's scan-build. BUILD_EVERYTHING will likely fail on non-Linux/x86 systems, but it seems that's a hard dependency to compile everything at this time, so well... Signed-off-by: Patrick Georgi <[email protected]> Regards, Patrick [0] https://scan.coverity.com/projects/1020
Index: Makefile =================================================================== --- Makefile (Revision 1841) +++ Makefile (Arbeitskopie) @@ -455,6 +455,14 @@ # Disable wiki printing by default. It is only useful if you have wiki access. CONFIG_PRINT_WIKI ?= no +# Enable all features +# Will fail on non-Linux/x86 +ifeq ($(BUILD_EVERYTHING), yes) +$(foreach var,$(filter CONFIG_%,$(.VARIABLES)),\ + $(if $(filter no,$($(var))),\ + $(eval $(var)=yes))) +endif + # Bitbanging SPI infrastructure, default off unless needed. ifeq ($(CONFIG_RAYER_SPI), yes) override CONFIG_BITBANG_SPI = yes
signature.asc
Description: OpenPGP digital signature
_______________________________________________ flashrom mailing list [email protected] http://www.flashrom.org/mailman/listinfo/flashrom
