From 60a2147a511e5ed9719d43d2570ba66335745de4 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 3 Jun 2012 20:06:21 +0000 Subject: Correct BuildTest makefiles to use LUFA_PATH rather than LUFA_ROOT_PATH. --- BuildTests/StaticAnalysisTest/makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'BuildTests/StaticAnalysisTest') 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 -- cgit v1.2.3