From 7a7ee6a908c1a3d9fff220152309460287178a4f Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Mon, 7 May 2012 17:42:49 +0000 Subject: Speed up build tests by only building each test to the ELF output stage (when all files are compiled and linked), rather than to the full HEX output stage as the resulting binary is not actually required. --- BuildTests/BoardDriverTest/makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'BuildTests/BoardDriverTest/makefile') diff --git a/BuildTests/BoardDriverTest/makefile b/BuildTests/BoardDriverTest/makefile index 5fffe1c1e..598d953b6 100644 --- a/BuildTests/BoardDriverTest/makefile +++ b/BuildTests/BoardDriverTest/makefile @@ -30,6 +30,7 @@ makeboardlist: testboards: echo "buildtest:" > BuildMakefile + @while read line; \ do \ build_cfg=`grep "$$line " BoardDeviceMap.cfg | sed 's/ //g' | cut -d'=' -f2-`; \ @@ -45,9 +46,10 @@ testboards: \ printf "\t@echo Building dummy project for $$build_board...\n" >> BuildMakefile; \ printf "\tmake -s -f makefile.%s clean\n" $$build_arch >> BuildMakefile; \ - printf "\tmake -s -f makefile.%s MCU=%s BOARD=%s\n\n" $$build_arch $$build_mcu $$build_board >> BuildMakefile; \ + printf "\tmake -s -f makefile.%s MCU=%s BOARD=%s elf\n\n" $$build_arch $$build_mcu $$build_board >> BuildMakefile; \ fi; \ done < BoardList.txt + $(MAKE) -f BuildMakefile buildtest clean: -- cgit v1.2.3