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 patrick@georgi-clan.de
Regards, Patrick
On Sat, 09 Aug 2014 19:03:37 +0200 Patrick Georgi patrick@georgi-clan.de wrote:
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...
I guess you fell for one of carldani's traps... in a positive way though: it works fine and impossible configs dont get set to yes eventually (no idea how it really works :) I have successfully tested it with mingw: e.g. dediprog and print wiki were enabled.
On Sat, 09 Aug 2014 19:03:37 +0200 Patrick Georgi patrick@georgi-clan.de wrote:
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 patrick@georgi-clan.de
Thank you Patrick! As I wrote already, it works even better than you thought. I have slightly changed it to use CONFIG_EVERYTHING instead of your naming and committed it in r1869 as Acked-by: Stefan Tauner stefan.tauner@alumni.tuwien.ac.at Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
BTW... how do I make this available in coverity? I don't see a setting to configure any build parameters.