From fb465b010fa8e015b492e8cb917972f78df1bbf6 Mon Sep 17 00:00:00 2001 From: Dean Date: Sun, 3 Jun 2012 20:06:21 +0000 Subject: 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 --- 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 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 -- cgit v1.2.3