X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/f0af2e4a0280c43af3200909f6a00c2afaa65364..f9fb44b01c8594028944b4c361e30c8de3e4057b:/BuildTests/BoardDriverTest/makefile diff --git a/BuildTests/BoardDriverTest/makefile b/BuildTests/BoardDriverTest/makefile index 5fffe1c1e..bc4d55977 100644 --- a/BuildTests/BoardDriverTest/makefile +++ b/BuildTests/BoardDriverTest/makefile @@ -29,10 +29,11 @@ makeboardlist: @grep "BOARD_" $(LUFA_ROOT_PATH)/LUFA/Common/BoardTypes.h | cut -d'#' -f2 | cut -d' ' -f2 | grep "BOARD_" > BoardList.txt testboards: - echo "buildtest:" > BuildMakefile + @echo "buildtest:" > BuildMakefile + @while read line; \ do \ - build_cfg=`grep "$$line " BoardDeviceMap.cfg | sed 's/ //g' | cut -d'=' -f2-`; \ + build_cfg=`grep "$$line " BoardDeviceMap.cfg | sed 's/ //g' | grep -v "#" | cut -d'=' -f2-`; \ \ build_board=$$line; \ build_arch=`echo $$build_cfg | cut -d':' -f1`; \ @@ -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: