X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/aba33a03341dd80bd3cb9efea1001f42bd82c715..40e1caa2da06d6d4699d5dc3dafb3d34b81f23f7:/BuildTests/BoardDriverTest/makefile diff --git a/BuildTests/BoardDriverTest/makefile b/BuildTests/BoardDriverTest/makefile index f039a3a7d..6ede0d2da 100644 --- a/BuildTests/BoardDriverTest/makefile +++ b/BuildTests/BoardDriverTest/makefile @@ -1,6 +1,6 @@ # # LUFA Library -# Copyright (C) Dean Camera, 2012. +# Copyright (C) Dean Camera, 2015. # # dean [at] fourwalledcubicle [dot] com # www.lufa-lib.org @@ -14,6 +14,8 @@ # Path to the LUFA library core LUFA_PATH := ../../LUFA/ +# Build test cannot be run with multiple parallel jobs +.NOTPARALLEL: all: begin makeboardlist testboards clean end @@ -27,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'`; \ @@ -48,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: @@ -63,4 +65,4 @@ clean: .PHONY: all begin end makeboardlist testboards clean # Include LUFA build script makefiles -include $(LUFA_PATH)/Build/lufa.core.in +include $(LUFA_PATH)/Build/lufa_core.mk