diff options
Diffstat (limited to 'BuildTests')
-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 |
8 files changed, 44 insertions, 20 deletions
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 |