aboutsummaryrefslogtreecommitdiffstats
path: root/BuildTests/BoardDriverTest/makefile
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-05-13 19:10:46 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-05-13 19:10:46 +0000
commit80e278acde4ef31a2742f49639e2053ffb0dd975 (patch)
tree707f573916c28cd86d2044392feee86f8b18c4fe /BuildTests/BoardDriverTest/makefile
parent0a00ee403732be3925bf68c755823b93dfb3169d (diff)
downloadlufa-80e278acde4ef31a2742f49639e2053ffb0dd975.tar.gz
lufa-80e278acde4ef31a2742f49639e2053ffb0dd975.tar.bz2
lufa-80e278acde4ef31a2742f49639e2053ffb0dd975.zip
Clean up and speed up build tests by turning off expensive and slow size optimizations, and generation of assembly listings (*.lst) for each compiled source file.
Diffstat (limited to 'BuildTests/BoardDriverTest/makefile')
-rw-r--r--BuildTests/BoardDriverTest/makefile26
1 files changed, 13 insertions, 13 deletions
diff --git a/BuildTests/BoardDriverTest/makefile b/BuildTests/BoardDriverTest/makefile
index bc4d55977..68180c221 100644
--- a/BuildTests/BoardDriverTest/makefile
+++ b/BuildTests/BoardDriverTest/makefile
@@ -31,23 +31,23 @@ makeboardlist:
testboards:
@echo "buildtest:" > BuildMakefile
- @while read line; \
- do \
- 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`; \
- build_mcu=`echo $$build_cfg | cut -d':' -f2`; \
- \
- if ( test -z "$$build_cfg" ); then \
- echo "No matching information set for board $$build_board"; \
- else \
+ @while read line; \
+ do \
+ build_cfg=`grep "$$line " BoardDeviceMap.cfg | grep -v "#" | cut -d'=' -f2- | sed 's/ //g'`; \
+ \
+ build_board=$$line; \
+ build_arch=`echo $$build_cfg | cut -d':' -f1`; \
+ build_mcu=`echo $$build_cfg | cut -d':' -f2`; \
+ \
+ if ( test -z "$$build_cfg" ); then \
+ echo "No matching information set for board $$build_board"; \
+ else \
echo "Found board configuration for $$build_board - $$build_arch, $$build_mcu"; \
- \
+ \
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 elf\n\n" $$build_arch $$build_mcu $$build_board >> BuildMakefile; \
- fi; \
+ fi; \
done < BoardList.txt
$(MAKE) -f BuildMakefile buildtest