aboutsummaryrefslogtreecommitdiffstats
path: root/BuildTests
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-10-14 20:18:46 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-10-14 20:18:46 +0000
commit72fc4a204de72bfc3b2d62162d2c8ff59dd5803f (patch)
treecbe788e9e669ab1cb993f0476035d3610afb1b45 /BuildTests
parent826a77e90c467bb5e3cf312267463fb645298252 (diff)
downloadlufa-72fc4a204de72bfc3b2d62162d2c8ff59dd5803f.tar.gz
lufa-72fc4a204de72bfc3b2d62162d2c8ff59dd5803f.tar.bz2
lufa-72fc4a204de72bfc3b2d62162d2c8ff59dd5803f.zip
Clean up unnecessary CPPCheck static analysis suppression comments, force Doxygen and GCC compiler specific macros as being always undefined when performing a static analysis of the code.
Diffstat (limited to 'BuildTests')
-rw-r--r--BuildTests/StaticAnalysisTest/makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/BuildTests/StaticAnalysisTest/makefile b/BuildTests/StaticAnalysisTest/makefile
index abac69e90..9aef3f390 100644
--- a/BuildTests/StaticAnalysisTest/makefile
+++ b/BuildTests/StaticAnalysisTest/makefile
@@ -18,10 +18,13 @@ CPPCHECK_EXCLUDES := FATFs/ \
CPPCHECK_INCLUDES := $(patsubst %/,%,$(LUFA_PATH))/CodeTemplates/ \
$(patsubst %/,%,$(LUFA_PATH))/../Projects/AVRISP-MKII/
-CPPCHECK_FLAGS := -U TEMPLATE_FUNC_NAME
+CPPCHECK_FLAGS := -U TEMPLATE_FUNC_NAME -U __GNUC__ -U __DOXYGEN__
SRC := $(patsubst %/,%,$(LUFA_PATH))/..
+# Build test cannot be run with multiple parallel jobs
+.NOTPARALLEL:
+
all: begin cppcheck end
begin: