Replace architecture specific makefiles in the BuildTests with the new common build...
[pub/USBasp.git] / BuildTests / BoardDriverTest / makefile
index cb1ed62..1477205 100644 (file)
@@ -45,8 +45,7 @@ testboards:
             echo "Found board configuration for $$build_board - $$build_arch, $$build_mcu";            \\r
                                                                                                            \\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 elf\n\n" $$build_arch $$build_mcu $$build_board >> BuildMakefile; \\r
+                printf "\tmake -s -f makefile.test clean elf MCU=%s ARCH=%s BOARD=%s\n\n" $$build_mcu $$build_arch $$build_board >> BuildMakefile; \\r
           fi;                                                                                          \\r
         done < BoardList.txt\r
         \r
@@ -55,9 +54,9 @@ testboards:
 clean:\r
        rm -f BuildMakefile\r
        rm -f BoardList.txt\r
-       $(MAKE) -f makefile.avr8 clean\r
-       $(MAKE) -f makefile.xmega clean\r
-       $(MAKE) -f makefile.uc3 clean\r
+       $(MAKE) -s -f makefile.test clean ARCH=AVR8\r
+       $(MAKE) -s -f makefile.test clean ARCH=XMEGA\r
+       $(MAKE) -s -f makefile.test clean ARCH=UC3\r
 \r
 %:\r
        
\ No newline at end of file