[flashrom] [commit] r1869 - trunk

repository service svn at flashrom.org
Mon Jan 19 20:52:34 CET 2015

Author: stefanct
Date: Mon Jan 19 20:52:34 2015
New Revision: 1869
URL: http://flashrom.org/trac/flashrom/changeset/1869

Allow to easily build all optional modules.

This patch adds a CONFIG_EVERYTHING flag to the 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.

[0] https://scan.coverity.com/projects/1020

Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
Acked-by: Stefan Tauner <stefan.tauner at alumni.tuwien.ac.at>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>


Modified: trunk/Makefile
--- trunk/Makefile	Sat Jan 10 16:59:54 2015	(r1868)
+++ trunk/Makefile	Mon Jan 19 20:52:34 2015	(r1869)
@@ -467,6 +467,13 @@
 # Disable wiki printing by default. It is only useful if you have wiki access.
+# Enable all features if CONFIG_EVERYTHING=yes is given
+ifeq ($(CONFIG_EVERYTHING), yes)
+$(foreach var, $(filter CONFIG_%, $(.VARIABLES)),\
+	$(if $(filter no, $($(var))),\
+		$(eval $(var)=yes)))
 # Bitbanging SPI infrastructure, default off unless needed.
 ifeq ($(CONFIG_RAYER_SPI), yes)
 override CONFIG_BITBANG_SPI = yes

More information about the flashrom mailing list