diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-06-03 20:06:21 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-06-03 20:06:21 +0000 |
commit | 60a2147a511e5ed9719d43d2570ba66335745de4 (patch) | |
tree | f9994b1507ebf9961dbabacef028601f0e963051 /BuildTests/StaticAnalysisTest | |
parent | c7344c22ac700dacf55a8dc729111dd7781c5fed (diff) | |
download | lufa-60a2147a511e5ed9719d43d2570ba66335745de4.tar.gz lufa-60a2147a511e5ed9719d43d2570ba66335745de4.tar.bz2 lufa-60a2147a511e5ed9719d43d2570ba66335745de4.zip |
Correct BuildTest makefiles to use LUFA_PATH rather than LUFA_ROOT_PATH.
Diffstat (limited to 'BuildTests/StaticAnalysisTest')
-rw-r--r-- | BuildTests/StaticAnalysisTest/makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/BuildTests/StaticAnalysisTest/makefile b/BuildTests/StaticAnalysisTest/makefile index 6f138af89..aecb67792 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 |