projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't compile in ISP sources into the XPLAIN bridge project.
[pub/USBasp.git]
/
BuildTests
/
BoardDriverTest
/
makefile
diff --git
a/BuildTests/BoardDriverTest/makefile
b/BuildTests/BoardDriverTest/makefile
index
c46a00c
..
8414d91
100644
(file)
--- a/
BuildTests/BoardDriverTest/makefile
+++ b/
BuildTests/BoardDriverTest/makefile
@@
-1,6
+1,6
@@
#
# LUFA Library
#
# LUFA Library
-# Copyright (C) Dean Camera, 201
2
.
+# Copyright (C) Dean Camera, 201
7
.
#
# dean [at] fourwalledcubicle [dot] com
# www.lufa-lib.org
#
# dean [at] fourwalledcubicle [dot] com
# www.lufa-lib.org
@@
-29,10
+29,10
@@
end:
makeboardlist:
@grep "BOARD_" $(patsubst %/,%,$(LUFA_PATH))/Common/BoardTypes.h | cut -d'#' -f2 | cut -d' ' -f2 | grep "BOARD_" > BoardList.txt
makeboardlist:
@grep "BOARD_" $(patsubst %/,%,$(LUFA_PATH))/Common/BoardTypes.h | cut -d'#' -f2 | cut -d' ' -f2 | grep "BOARD_" > BoardList.txt
-
+
testboards:
@echo "buildtest:" > BuildMakefile
testboards:
@echo "buildtest:" > BuildMakefile
-
+
@while read line; \
do \
build_cfg=`grep "$$line " BoardDeviceMap.cfg | grep -v "#" | cut -d'=' -f2- | sed 's/ //g'`; \
@while read line; \
do \
build_cfg=`grep "$$line " BoardDeviceMap.cfg | grep -v "#" | cut -d'=' -f2- | sed 's/ //g'`; \
@@
-50,7
+50,7
@@
testboards:
printf "\t$(MAKE) -f makefile.test clean elf MCU=%s ARCH=%s BOARD=%s\n\n" $$build_mcu $$build_arch $$build_board >> BuildMakefile; \
fi; \
done < BoardList.txt
printf "\t$(MAKE) -f makefile.test clean elf MCU=%s ARCH=%s BOARD=%s\n\n" $$build_mcu $$build_arch $$build_board >> BuildMakefile; \
fi; \
done < BoardList.txt
-
+
$(MAKE) -f BuildMakefile buildtest
clean:
$(MAKE) -f BuildMakefile buildtest
clean:
@@
-64,5
+64,6
@@
clean:
.PHONY: all begin end makeboardlist testboards clean
.PHONY: all begin end makeboardlist testboards clean
-# Include LUFA build script makefiles
-include $(LUFA_PATH)/Build/lufa_core.mk
+# Include common DMBS build system modules
+DMBS_PATH ?= $(LUFA_PATH)/Build/DMBS/DMBS
+include $(DMBS_PATH)/core.mk