X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/b7e3c86e4e5d4262a608163176d0b01c0cc54b29..01e75290a0ea730e69c8465a17626c6458d19a9b:/BuildTests/BoardDriverTest/makefile diff --git a/BuildTests/BoardDriverTest/makefile b/BuildTests/BoardDriverTest/makefile index c46a00c0b..8414d9186 100644 --- a/BuildTests/BoardDriverTest/makefile +++ b/BuildTests/BoardDriverTest/makefile @@ -1,6 +1,6 @@ # # LUFA Library -# Copyright (C) Dean Camera, 2012. +# Copyright (C) Dean Camera, 2017. # # dean [at] fourwalledcubicle [dot] com # www.lufa-lib.org @@ -29,10 +29,10 @@ end: makeboardlist: @grep "BOARD_" $(patsubst %/,%,$(LUFA_PATH))/Common/BoardTypes.h | cut -d'#' -f2 | cut -d' ' -f2 | grep "BOARD_" > BoardList.txt - + testboards: @echo "buildtest:" > BuildMakefile - + @while read line; \ do \ build_cfg=`grep "$$line " BoardDeviceMap.cfg | grep -v "#" | cut -d'=' -f2- | sed 's/ //g'`; \ @@ -50,7 +50,7 @@ testboards: printf "\t$(MAKE) -f makefile.test clean elf MCU=%s ARCH=%s BOARD=%s\n\n" $$build_mcu $$build_arch $$build_board >> BuildMakefile; \ fi; \ done < BoardList.txt - + $(MAKE) -f BuildMakefile buildtest clean: @@ -64,5 +64,6 @@ clean: .PHONY: all begin end makeboardlist testboards clean -# Include LUFA build script makefiles -include $(LUFA_PATH)/Build/lufa_core.mk +# Include common DMBS build system modules +DMBS_PATH ?= $(LUFA_PATH)/Build/DMBS/DMBS +include $(DMBS_PATH)/core.mk