aboutsummaryrefslogtreecommitdiffstats
path: root/BuildTests/BoardDriverTest/makefile
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-05-07 17:42:49 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-05-07 17:42:49 +0000
commit7a7ee6a908c1a3d9fff220152309460287178a4f (patch)
tree365c180de31f40c1af5da403a46d09437627d5f2 /BuildTests/BoardDriverTest/makefile
parente5a7fa201e4482c3658cd382470c4dcfe27578fb (diff)
downloadlufa-7a7ee6a908c1a3d9fff220152309460287178a4f.tar.gz
lufa-7a7ee6a908c1a3d9fff220152309460287178a4f.tar.bz2
lufa-7a7ee6a908c1a3d9fff220152309460287178a4f.zip
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.
Diffstat (limited to 'BuildTests/BoardDriverTest/makefile')
-rw-r--r--BuildTests/BoardDriverTest/makefile4
1 files changed, 3 insertions, 1 deletions
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: