Speed up build tests by only building each test to the ELF output stage (when all...
[pub/USBasp.git] / BuildTests / BoardDriverTest / makefile
index 5fffe1c..598d953 100644 (file)
@@ -30,6 +30,7 @@ makeboardlist:
        \r
 testboards:\r
        echo "buildtest:" > BuildMakefile\r
+       \r
        @while read line; \\r
         do \\r
           build_cfg=`grep "$$line " BoardDeviceMap.cfg | sed 's/ //g' | cut -d'=' -f2-`; \\r
@@ -45,9 +46,10 @@ testboards:
                 \\r
                 printf "\t@echo Building dummy project for $$build_board...\n" >> BuildMakefile; \\r
                 printf "\tmake -s -f makefile.%s clean\n" $$build_arch >> BuildMakefile; \\r
-                printf "\tmake -s -f makefile.%s MCU=%s BOARD=%s\n\n" $$build_arch $$build_mcu $$build_board >> BuildMakefile; \\r
+                printf "\tmake -s -f makefile.%s MCU=%s BOARD=%s elf\n\n" $$build_arch $$build_mcu $$build_board >> BuildMakefile; \\r
           fi; \\r
         done < BoardList.txt\r
+        \r
         $(MAKE) -f BuildMakefile buildtest\r
 \r
 clean:\r