Add script reading bootloader flags
[pub/lufa.git] / BuildTests / BoardDriverTest / makefile.test
index ea2c836..d1846f2 100644 (file)
@@ -1,6 +1,6 @@
 #
 #             LUFA Library
-#     Copyright (C) Dean Camera, 2012.
+#     Copyright (C) Dean Camera, 2021.
 #
 #  dean [at] fourwalledcubicle [dot] com
 #           www.lufa-lib.org
@@ -9,9 +9,11 @@
 #         LUFA Project Makefile.
 # --------------------------------------
 
-MCU          = 
-ARCH         = 
-BOARD        = 
+# Run "make help" for target help.
+
+MCU          =
+ARCH         =
+BOARD        =
 F_CPU        = $(F_USB)
 F_USB        = 8000000
 OPTIMIZATION = 1
@@ -19,6 +21,15 @@ TARGET       = Test
 SRC          = $(TARGET).c
 LUFA_PATH    = ../../LUFA
 CC_FLAGS     = -Werror
+DEBUG_LEVEL  = 0
+
+
+# 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 LUFA build script makefiles
-include $(LUFA_PATH)/Build/lufa_build.mk
\ No newline at end of file
+# Include common DMBS build system modules
+DMBS_PATH      ?= $(LUFA_PATH)/Build/DMBS/DMBS
+include $(DMBS_PATH)/core.mk
+include $(DMBS_PATH)/gcc.mk