aboutsummaryrefslogtreecommitdiff
path: root/BuildTests/StaticAnalysisTest
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-06-03 20:06:21 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-06-03 20:06:21 +0000
commitfb465b010fa8e015b492e8cb917972f78df1bbf6 (patch)
treef9994b1507ebf9961dbabacef028601f0e963051 /BuildTests/StaticAnalysisTest
parentc7c0e991668385cf86bb63363976cbf713ee14ca (diff)
Correct BuildTest makefiles to use LUFA_PATH rather than LUFA_ROOT_PATH.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2301 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'BuildTests/StaticAnalysisTest')
-rw-r--r--BuildTests/StaticAnalysisTest/makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/BuildTests/StaticAnalysisTest/makefile b/BuildTests/StaticAnalysisTest/makefile
index 6f138af8..aecb6779 100644
--- a/BuildTests/StaticAnalysisTest/makefile
+++ b/BuildTests/StaticAnalysisTest/makefile
@@ -8,14 +8,15 @@
# Static anlysis of the entire LUFA source tree, using the free cross-platform "cppcheck" tool.
-LUFA_ROOT_PATH = ../..
+# Path to the LUFA library core
+LUFA_PATH = ../../LUFA/
CPPCHECK_EXCLUDES = FATFs/ \
PetiteFATFs/ \
uip/
-CPPCHECK_INCLUDES = $(LUFA_ROOT_PATH)/LUFA/CodeTemplates/ \
- $(LUFA_ROOT_PATH)/Projects/AVRISP-MKII/
-CPPCHECK_PATH = $(LUFA_ROOT_PATH)
+CPPCHECK_INCLUDES = $(patsubst %/,%,$(LUFA_PATH))/CodeTemplates/ \
+ $(patsubst %/,%,$(LUFA_PATH))/../Projects/AVRISP-MKII/
+CPPCHECK_PATH = $(patsubst %/,%,$(LUFA_PATH))/..
all: begin cppcheck-config cppcheck end
@@ -32,5 +33,5 @@ end:
.PHONY: all begin end
# Include LUFA build script makefiles
-include $(LUFA_ROOT_PATH)/LUFA/Build/lufa.core.in
-include $(LUFA_ROOT_PATH)/LUFA/Build/lufa.cppcheck.in \ No newline at end of file
+include $(LUFA_PATH)/Build/lufa.core.in
+include $(LUFA_PATH)/Build/lufa.cppcheck.in \ No newline at end of file