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/BoardDriverTest/makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'BuildTests/BoardDriverTest') diff --git a/BuildTests/BoardDriverTest/makefile b/BuildTests/BoardDriverTest/makefile index 252b3f880..54afa5755 100644 --- a/BuildTests/BoardDriverTest/makefile +++ b/BuildTests/BoardDriverTest/makefile @@ -11,8 +11,8 @@ # possible board targets using their respective # compiler. -# Path to the root of the LUFA tree to scan -LUFA_ROOT_PATH = ../.. +# Path to the LUFA library core +LUFA_PATH = ../../LUFA/ all: begin makeboardlist testboards clean end @@ -26,7 +26,7 @@ end: @echo makeboardlist: - @grep "BOARD_" $(LUFA_ROOT_PATH)/LUFA/Common/BoardTypes.h | cut -d'#' -f2 | cut -d' ' -f2 | grep "BOARD_" > BoardList.txt + @grep "BOARD_" $(patsubst %/,%,$(LUFA_PATH))/Common/BoardTypes.h | cut -d'#' -f2 | cut -d' ' -f2 | grep "BOARD_" > BoardList.txt testboards: @echo "buildtest:" > BuildMakefile @@ -63,4 +63,4 @@ clean: .PHONY: all begin end makeboardlist testboards clean # Include LUFA build script makefiles -include $(LUFA_ROOT_PATH)/LUFA/Build/lufa.core.in +include $(LUFA_PATH)/Build/lufa.core.in -- cgit v1.2.3