diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2016-04-05 21:19:29 +1000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2016-04-05 21:19:29 +1000 |
commit | 49148fef9b5d74e5db607c6e39ad1c08f62b9b58 (patch) | |
tree | 1acda324a1334c208f775b1c9e22e934ef7c64f5 /BuildTests | |
parent | 9669a00c34dc7545b2ca538b5aa0fde745483824 (diff) | |
parent | 3126cbbf96a24afd447ece00248e5ece39dd088a (diff) | |
download | lufa-49148fef9b5d74e5db607c6e39ad1c08f62b9b58.tar.gz lufa-49148fef9b5d74e5db607c6e39ad1c08f62b9b58.tar.bz2 lufa-49148fef9b5d74e5db607c6e39ad1c08f62b9b58.zip |
Replace the LUFA build system with DMBS.
Replace LUFA build system with its successor, DMBS, for easier maintenance.
Diffstat (limited to 'BuildTests')
-rw-r--r-- | BuildTests/BoardDriverTest/BoardDeviceMap.cfg | 1 | ||||
-rw-r--r-- | BuildTests/BoardDriverTest/makefile | 5 | ||||
-rw-r--r-- | BuildTests/BoardDriverTest/makefile.test | 12 | ||||
-rw-r--r-- | BuildTests/BootloaderTest/makefile | 5 | ||||
-rw-r--r-- | BuildTests/ModuleTest/makefile | 5 | ||||
-rw-r--r-- | BuildTests/ModuleTest/makefile.test | 12 | ||||
-rw-r--r-- | BuildTests/SingleUSBModeTest/makefile | 5 | ||||
-rw-r--r-- | BuildTests/SingleUSBModeTest/makefile.test | 12 | ||||
-rw-r--r-- | BuildTests/StaticAnalysisTest/makefile | 8 |
9 files changed, 45 insertions, 20 deletions
diff --git a/BuildTests/BoardDriverTest/BoardDeviceMap.cfg b/BuildTests/BoardDriverTest/BoardDeviceMap.cfg index 18a502f58..096d88998 100644 --- a/BuildTests/BoardDriverTest/BoardDeviceMap.cfg +++ b/BuildTests/BoardDriverTest/BoardDeviceMap.cfg @@ -73,6 +73,7 @@ BOARD_STANGE_ISP = AVR8 : at90usb162 : BOARD_U2S = AVR8 : atmega32u2 : BOARD_YUN = AVR8 : atmega32u4 : BOARD_MICRO = AVR8 : atmega32u4 : +BOARD_POLOLUMICRO = AVR8 : atmega32u4 : BOARD_XPLAINED_MINI = AVR8 : atmega32u4 : # # ----------------- XMEGA Boards ----------------- diff --git a/BuildTests/BoardDriverTest/makefile b/BuildTests/BoardDriverTest/makefile index 56fdd8f75..cf4ed6969 100644 --- a/BuildTests/BoardDriverTest/makefile +++ b/BuildTests/BoardDriverTest/makefile @@ -64,5 +64,6 @@ 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 diff --git a/BuildTests/BoardDriverTest/makefile.test b/BuildTests/BoardDriverTest/makefile.test index c9ef890b8..c1d84e41a 100644 --- a/BuildTests/BoardDriverTest/makefile.test +++ b/BuildTests/BoardDriverTest/makefile.test @@ -23,5 +23,13 @@ LUFA_PATH = ../../LUFA CC_FLAGS = -Werror DEBUG_LEVEL = 0 -# Include LUFA build script makefiles -include $(LUFA_PATH)/Build/lufa_build.mk + +# Include LUFA-specific DMBS extension modules +DMBS_LUFA_PATH ?= $(LUFA_PATH)/Build/LUFA +include $(DMBS_LUFA_PATH)/lufa-sources.mk +include $(DMBS_LUFA_PATH)/lufa-gcc.mk + +# Include common DMBS build system modules +DMBS_PATH ?= $(LUFA_PATH)/Build/DMBS/DMBS +include $(DMBS_PATH)/core.mk +include $(DMBS_PATH)/gcc.mk diff --git a/BuildTests/BootloaderTest/makefile b/BuildTests/BootloaderTest/makefile index 01d93ce5d..f3f4fc586 100644 --- a/BuildTests/BootloaderTest/makefile +++ b/BuildTests/BootloaderTest/makefile @@ -60,5 +60,6 @@ clean: .PHONY: all begin end testbootloaders 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 diff --git a/BuildTests/ModuleTest/makefile b/BuildTests/ModuleTest/makefile index 2c696a4dc..51c45bc85 100644 --- a/BuildTests/ModuleTest/makefile +++ b/BuildTests/ModuleTest/makefile @@ -62,5 +62,6 @@ clean: .PHONY: all arch_avr8 arch_xmega arch_uc3 begin end -# 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 diff --git a/BuildTests/ModuleTest/makefile.test b/BuildTests/ModuleTest/makefile.test index 23615217d..30bd3aad1 100644 --- a/BuildTests/ModuleTest/makefile.test +++ b/BuildTests/ModuleTest/makefile.test @@ -83,6 +83,12 @@ Test_C.c Test_CPP.cpp: CC_FLAGS += -Wc++-compat #CC_FLAGS += -Wsign-conversion #CC_FLAGS += -pedantic -# Include LUFA build script makefiles -include $(LUFA_PATH)/Build/lufa_sources.mk -include $(LUFA_PATH)/Build/lufa_build.mk +# Include LUFA-specific DMBS extension modules +DMBS_LUFA_PATH ?= $(LUFA_PATH)/Build/LUFA +include $(DMBS_LUFA_PATH)/lufa-sources.mk +include $(DMBS_LUFA_PATH)/lufa-gcc.mk + +# Include common DMBS build system modules +DMBS_PATH ?= $(LUFA_PATH)/Build/DMBS/DMBS +include $(DMBS_PATH)/core.mk +include $(DMBS_PATH)/gcc.mk diff --git a/BuildTests/SingleUSBModeTest/makefile b/BuildTests/SingleUSBModeTest/makefile index 54f1e1f6f..712af0b45 100644 --- a/BuildTests/SingleUSBModeTest/makefile +++ b/BuildTests/SingleUSBModeTest/makefile @@ -52,5 +52,6 @@ clean: .PHONY: begin end compile 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 diff --git a/BuildTests/SingleUSBModeTest/makefile.test b/BuildTests/SingleUSBModeTest/makefile.test index d85a0b301..116c001c4 100644 --- a/BuildTests/SingleUSBModeTest/makefile.test +++ b/BuildTests/SingleUSBModeTest/makefile.test @@ -64,6 +64,12 @@ C_FLAGS += -Wnested-externs #CC_FLAGS += -Wjump-misses-init #CC_FLAGS += -pedantic -# Include LUFA build script makefiles -include $(LUFA_PATH)/Build/lufa_sources.mk -include $(LUFA_PATH)/Build/lufa_build.mk +# Include LUFA-specific DMBS extension modules +DMBS_LUFA_PATH ?= $(LUFA_PATH)/Build/LUFA +include $(DMBS_LUFA_PATH)/lufa-sources.mk +include $(DMBS_LUFA_PATH)/lufa-gcc.mk + +# Include common DMBS build system modules +DMBS_PATH ?= $(LUFA_PATH)/Build/DMBS/DMBS +include $(DMBS_PATH)/core.mk +include $(DMBS_PATH)/gcc.mk diff --git a/BuildTests/StaticAnalysisTest/makefile b/BuildTests/StaticAnalysisTest/makefile index e6de603a2..722ba5e85 100644 --- a/BuildTests/StaticAnalysisTest/makefile +++ b/BuildTests/StaticAnalysisTest/makefile @@ -39,9 +39,9 @@ end: %: - .PHONY: all begin end -# Include LUFA build script makefiles -include $(LUFA_PATH)/Build/lufa_core.mk -include $(LUFA_PATH)/Build/lufa_cppcheck.mk +# Include common DMBS build system modules +DMBS_PATH ?= $(LUFA_PATH)/Build/DMBS/DMBS +include $(DMBS_PATH)/core.mk +include $(DMBS_PATH)/cppcheck.mk |