Commit b7e3c86e authored by Dean Camera's avatar Dean Camera
Browse files

Rename build system module makefiles from "lufa.MODULE.in" to "lufa_MODULE.mk"...

Rename build system module makefiles from "lufa.MODULE.in" to "lufa_MODULE.mk" to prevent makefile from assuming the include is an old style build rule, slowing down the build process.

Prevent the BUILD module from shell-executing multiple processes to determine the avr-size flags to speed up the build, unless the size rule is invoked.

Add warnings and set warnings as errors to the SingleUSBModeTest build test makefile.
parent d4980e58
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* *
* To use a LUFA build system module, simply add an include to your project makefile: * To use a LUFA build system module, simply add an include to your project makefile:
* \code * \code
* include $(LUFA_PATH)/Build/lufa.core.in * include $(LUFA_PATH)/Build/lufa_core.mk
* \endcode * \endcode
* *
* And the associated build module targets will be added to your project's build makefile automatically. * And the associated build module targets will be added to your project's build makefile automatically.
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
* *
* To use this module in your application makefile, add the following code: * To use this module in your application makefile, add the following code:
* \code * \code
* include $(LUFA_PATH)/Build/lufa.build.in * include $(LUFA_PATH)/Build/lufa_build.mk
* \endcode * \endcode
* *
* \section SSec_BuildModule_BUILD_Requirements Requirements * \section SSec_BuildModule_BUILD_Requirements Requirements
...@@ -212,7 +212,7 @@ ...@@ -212,7 +212,7 @@
* *
* To use this module in your application makefile, add the following code: * To use this module in your application makefile, add the following code:
* \code * \code
* include $(LUFA_PATH)/Build/lufa.core.in * include $(LUFA_PATH)/Build/lufa_core.mk
* \endcode * \endcode
* *
* \section SSec_BuildModule_CORE_Requirements Requirements * \section SSec_BuildModule_CORE_Requirements Requirements
...@@ -292,7 +292,7 @@ ...@@ -292,7 +292,7 @@
* *
* To use this module in your application makefile, add the following code: * To use this module in your application makefile, add the following code:
* \code * \code
* include $(LUFA_PATH)/Build/lufa.atprogram.in * include $(LUFA_PATH)/Build/lufa_atprogram.mk
* \endcode * \endcode
* *
* \section SSec_BuildModule_ATPROGRAM_Requirements Requirements * \section SSec_BuildModule_ATPROGRAM_Requirements Requirements
...@@ -367,7 +367,7 @@ ...@@ -367,7 +367,7 @@
* *
* To use this module in your application makefile, add the following code: * To use this module in your application makefile, add the following code:
* \code * \code
* include $(LUFA_PATH)/Build/lufa.avrdude.in * include $(LUFA_PATH)/Build/lufa_avrdude.mk
* \endcode * \endcode
* *
* \section SSec_BuildModule_AVRDUDE_Requirements Requirements * \section SSec_BuildModule_AVRDUDE_Requirements Requirements
...@@ -443,7 +443,7 @@ ...@@ -443,7 +443,7 @@
* *
* To use this module in your application makefile, add the following code: * To use this module in your application makefile, add the following code:
* \code * \code
* include $(LUFA_PATH)/Build/lufa.cppcheck.in * include $(LUFA_PATH)/Build/lufa_cppcheck.mk
* \endcode * \endcode
* *
* \section SSec_BuildModule_CPPCHECK_Requirements Requirements * \section SSec_BuildModule_CPPCHECK_Requirements Requirements
...@@ -537,7 +537,7 @@ ...@@ -537,7 +537,7 @@
* *
* To use this module in your application makefile, add the following code: * To use this module in your application makefile, add the following code:
* \code * \code
* include $(LUFA_PATH)/Build/lufa.dfu.in * include $(LUFA_PATH)/Build/lufa_dfu.mk
* \endcode * \endcode
* *
* \section SSec_BuildModule_DFU_Requirements Requirements * \section SSec_BuildModule_DFU_Requirements Requirements
...@@ -613,7 +613,7 @@ ...@@ -613,7 +613,7 @@
* *
* To use this module in your application makefile, add the following code: * To use this module in your application makefile, add the following code:
* \code * \code
* include $(LUFA_PATH)/Build/lufa.doxygen.in * include $(LUFA_PATH)/Build/lufa_doxygen.mk
* \endcode * \endcode
* *
* \section SSec_BuildModule_DOXYGEN_Requirements Requirements * \section SSec_BuildModule_DOXYGEN_Requirements Requirements
...@@ -683,7 +683,7 @@ ...@@ -683,7 +683,7 @@
* *
* To use this module in your application makefile, add the following code: * To use this module in your application makefile, add the following code:
* \code * \code
* include $(LUFA_PATH)/Build/lufa.hid.in * include $(LUFA_PATH)/Build/lufa_hid.mk
* \endcode * \endcode
* *
* \section SSec_BuildModule_HID_Requirements Requirements * \section SSec_BuildModule_HID_Requirements Requirements
...@@ -764,7 +764,7 @@ ...@@ -764,7 +764,7 @@
* *
* To use this module in your application makefile, add the following code: * To use this module in your application makefile, add the following code:
* \code * \code
* include $(LUFA_PATH)/Build/lufa.sources.in * include $(LUFA_PATH)/Build/lufa_sources.mk
* \endcode * \endcode
* *
* \section SSec_BuildModule_SOURCES_Requirements Requirements * \section SSec_BuildModule_SOURCES_Requirements Requirements
......
...@@ -26,12 +26,12 @@ LD_FLAGS = ...@@ -26,12 +26,12 @@ LD_FLAGS =
all: all:
# Include LUFA build script makefiles # Include LUFA build script makefiles
include $(LUFA_PATH)/Build/lufa.core.in include $(LUFA_PATH)/Build/lufa_core.mk
include $(LUFA_PATH)/Build/lufa.sources.in include $(LUFA_PATH)/Build/lufa_sources.mk
include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa_build.mk
include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa_cppcheck.mk
include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa_doxygen.mk
include $(LUFA_PATH)/Build/lufa.dfu.in include $(LUFA_PATH)/Build/lufa_dfu.mk
include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa_hid.mk
include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa_avrdude.mk
include $(LUFA_PATH)/Build/lufa.atprogram.in include $(LUFA_PATH)/Build/lufa_atprogram.mk
...@@ -25,12 +25,12 @@ LD_FLAGS = ...@@ -25,12 +25,12 @@ LD_FLAGS =
all: all:
# Include LUFA build script makefiles # Include LUFA build script makefiles
include $(LUFA_PATH)/Build/lufa.core.in include $(LUFA_PATH)/Build/lufa_core.mk
include $(LUFA_PATH)/Build/lufa.sources.in include $(LUFA_PATH)/Build/lufa_sources.mk
include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa_build.mk
include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa_cppcheck.mk
include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa_doxygen.mk
include $(LUFA_PATH)/Build/lufa.dfu.in include $(LUFA_PATH)/Build/lufa_dfu.mk
include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa_hid.mk
include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa_avrdude.mk
include $(LUFA_PATH)/Build/lufa.atprogram.in include $(LUFA_PATH)/Build/lufa_atprogram.mk
...@@ -25,12 +25,12 @@ LD_FLAGS = ...@@ -25,12 +25,12 @@ LD_FLAGS =
all: all:
# Include LUFA build script makefiles # Include LUFA build script makefiles
include $(LUFA_PATH)/Build/lufa.core.in include $(LUFA_PATH)/Build/lufa_core.mk
include $(LUFA_PATH)/Build/lufa.sources.in include $(LUFA_PATH)/Build/lufa_sources.mk
include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa_build.mk
include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa_cppcheck.mk
include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa_doxygen.mk
include $(LUFA_PATH)/Build/lufa.dfu.in include $(LUFA_PATH)/Build/lufa_dfu.mk
include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa_hid.mk
include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa_avrdude.mk
include $(LUFA_PATH)/Build/lufa.atprogram.in include $(LUFA_PATH)/Build/lufa_atprogram.mk
...@@ -25,12 +25,12 @@ LD_FLAGS = ...@@ -25,12 +25,12 @@ LD_FLAGS =
all: all:
# Include LUFA build script makefiles # Include LUFA build script makefiles
include $(LUFA_PATH)/Build/lufa.core.in include $(LUFA_PATH)/Build/lufa_core.mk
include $(LUFA_PATH)/Build/lufa.sources.in include $(LUFA_PATH)/Build/lufa_sources.mk
include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa_build.mk
include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa_cppcheck.mk
include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa_doxygen.mk
include $(LUFA_PATH)/Build/lufa.dfu.in include $(LUFA_PATH)/Build/lufa_dfu.mk
include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa_hid.mk
include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa_avrdude.mk
include $(LUFA_PATH)/Build/lufa.atprogram.in include $(LUFA_PATH)/Build/lufa_atprogram.mk
...@@ -25,12 +25,12 @@ LD_FLAGS = ...@@ -25,12 +25,12 @@ LD_FLAGS =
all: all:
# Include LUFA build script makefiles # Include LUFA build script makefiles
include $(LUFA_PATH)/Build/lufa.core.in include $(LUFA_PATH)/Build/lufa_core.mk
include $(LUFA_PATH)/Build/lufa.sources.in include $(LUFA_PATH)/Build/lufa_sources.mk
include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa_build.mk
include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa_cppcheck.mk
include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa_doxygen.mk
include $(LUFA_PATH)/Build/lufa.dfu.in include $(LUFA_PATH)/Build/lufa_dfu.mk
include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa_hid.mk
include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa_avrdude.mk
include $(LUFA_PATH)/Build/lufa.atprogram.in include $(LUFA_PATH)/Build/lufa_atprogram.mk
...@@ -25,12 +25,12 @@ LD_FLAGS = ...@@ -25,12 +25,12 @@ LD_FLAGS =
all: all:
# Include LUFA build script makefiles # Include LUFA build script makefiles
include $(LUFA_PATH)/Build/lufa.core.in include $(LUFA_PATH)/Build/lufa_core.mk
include $(LUFA_PATH)/Build/lufa.sources.in include $(LUFA_PATH)/Build/lufa_sources.mk
include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa_build.mk
include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa_cppcheck.mk
include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa_doxygen.mk
include $(LUFA_PATH)/Build/lufa.dfu.in include $(LUFA_PATH)/Build/lufa_dfu.mk
include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa_hid.mk
include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa_avrdude.mk
include $(LUFA_PATH)/Build/lufa.atprogram.in include $(LUFA_PATH)/Build/lufa_atprogram.mk
...@@ -25,12 +25,12 @@ LD_FLAGS = ...@@ -25,12 +25,12 @@ LD_FLAGS =
all: all:
# Include LUFA build script makefiles # Include LUFA build script makefiles
include $(LUFA_PATH)/Build/lufa.core.in include $(LUFA_PATH)/Build/lufa_core.mk
include $(LUFA_PATH)/Build/lufa.sources.in include $(LUFA_PATH)/Build/lufa_sources.mk
include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa_build.mk
include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa_cppcheck.mk
include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa_doxygen.mk
include $(LUFA_PATH)/Build/lufa.dfu.in include $(LUFA_PATH)/Build/lufa_dfu.mk
include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa_hid.mk
include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa_avrdude.mk
include $(LUFA_PATH)/Build/lufa.atprogram.in include $(LUFA_PATH)/Build/lufa_atprogram.mk
...@@ -25,12 +25,12 @@ LD_FLAGS = ...@@ -25,12 +25,12 @@ LD_FLAGS =
all: all:
# Include LUFA build script makefiles # Include LUFA build script makefiles
include $(LUFA_PATH)/Build/lufa.core.in include $(LUFA_PATH)/Build/lufa_core.mk
include $(LUFA_PATH)/Build/lufa.sources.in include $(LUFA_PATH)/Build/lufa_sources.mk
include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa_build.mk
include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa_cppcheck.mk
include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa_doxygen.mk
include $(LUFA_PATH)/Build/lufa.dfu.in include $(LUFA_PATH)/Build/lufa_dfu.mk
include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa_hid.mk
include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa_avrdude.mk
include $(LUFA_PATH)/Build/lufa.atprogram.in include $(LUFA_PATH)/Build/lufa_atprogram.mk
...@@ -25,12 +25,12 @@ LD_FLAGS = ...@@ -25,12 +25,12 @@ LD_FLAGS =
all: all:
# Include LUFA build script makefiles # Include LUFA build script makefiles
include $(LUFA_PATH)/Build/lufa.core.in include $(LUFA_PATH)/Build/lufa_core.mk
include $(LUFA_PATH)/Build/lufa.sources.in include $(LUFA_PATH)/Build/lufa_sources.mk
include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa_build.mk
include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa_cppcheck.mk
include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa_doxygen.mk
include $(LUFA_PATH)/Build/lufa.dfu.in include $(LUFA_PATH)/Build/lufa_dfu.mk
include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa_hid.mk
include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa_avrdude.mk
include $(LUFA_PATH)/Build/lufa.atprogram.in include $(LUFA_PATH)/Build/lufa_atprogram.mk
...@@ -25,12 +25,12 @@ LD_FLAGS = ...@@ -25,12 +25,12 @@ LD_FLAGS =
all: all:
# Include LUFA build script makefiles # Include LUFA build script makefiles
include $(LUFA_PATH)/Build/lufa.core.in include $(LUFA_PATH)/Build/lufa_core.mk
include $(LUFA_PATH)/Build/lufa.sources.in include $(LUFA_PATH)/Build/lufa_sources.mk
include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa_build.mk
include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa_cppcheck.mk
include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa_doxygen.mk
include $(LUFA_PATH)/Build/lufa.dfu.in include $(LUFA_PATH)/Build/lufa_dfu.mk
include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa_hid.mk
include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa_avrdude.mk
include $(LUFA_PATH)/Build/lufa.atprogram.in include $(LUFA_PATH)/Build/lufa_atprogram.mk
...@@ -26,12 +26,12 @@ LD_FLAGS = ...@@ -26,12 +26,12 @@ LD_FLAGS =
all: all:
# Include LUFA build script makefiles # Include LUFA build script makefiles
include $(LUFA_PATH)/Build/lufa.core.in include $(LUFA_PATH)/Build/lufa_core.mk
include $(LUFA_PATH)/Build/lufa.sources.in include $(LUFA_PATH)/Build/lufa_sources.mk
include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa_build.mk
include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa_cppcheck.mk
include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa_doxygen.mk
include $(LUFA_PATH)/Build/lufa.dfu.in include $(LUFA_PATH)/Build/lufa_dfu.mk
include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa_hid.mk
include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa_avrdude.mk
include $(LUFA_PATH)/Build/lufa.atprogram.in include $(LUFA_PATH)/Build/lufa_atprogram.mk
...@@ -25,12 +25,12 @@ LD_FLAGS = ...@@ -25,12 +25,12 @@ LD_FLAGS =
all: all:
# Include LUFA build script makefiles # Include LUFA build script makefiles
include $(LUFA_PATH)/Build/lufa.core.in include $(LUFA_PATH)/Build/lufa_core.mk
include $(LUFA_PATH)/Build/lufa.sources.in include $(LUFA_PATH)/Build/lufa_sources.mk
include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa_build.mk
include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa_cppcheck.mk
include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa_doxygen.mk
include $(LUFA_PATH)/Build/lufa.dfu.in include $(LUFA_PATH)/Build/lufa_dfu.mk
include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa_hid.mk
include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa_avrdude.mk
include $(LUFA_PATH)/Build/lufa.atprogram.in include $(LUFA_PATH)/Build/lufa_atprogram.mk
...@@ -28,12 +28,12 @@ LD_FLAGS = ...@@ -28,12 +28,12 @@ LD_FLAGS =
all: all:
# Include LUFA build script makefiles # Include LUFA build script makefiles
include $(LUFA_PATH)/Build/lufa.core.in include $(LUFA_PATH)/Build/lufa_core.mk
include $(LUFA_PATH)/Build/lufa.sources.in include $(LUFA_PATH)/Build/lufa_sources.mk
include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa_build.mk
include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa_cppcheck.mk
include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa_doxygen.mk
include $(LUFA_PATH)/Build/lufa.dfu.in include $(LUFA_PATH)/Build/lufa_dfu.mk
include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa_hid.mk
include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa_avrdude.mk
include $(LUFA_PATH)/Build/lufa.atprogram.in include $(LUFA_PATH)/Build/lufa_atprogram.mk
...@@ -30,12 +30,12 @@ LD_FLAGS = ...@@ -30,12 +30,12 @@ LD_FLAGS =
all: all:
# Include LUFA build script makefiles # Include LUFA build script makefiles
include $(LUFA_PATH)/Build/lufa.core.in include $(LUFA_PATH)/Build/lufa_core.mk
include $(LUFA_PATH)/Build/lufa.sources.in include $(LUFA_PATH)/Build/lufa_sources.mk
include $(LUFA_PATH)/Build/lufa.build.in include $(LUFA_PATH)/Build/lufa_build.mk
include $(LUFA_PATH)/Build/lufa.cppcheck.in include $(LUFA_PATH)/Build/lufa_cppcheck.mk
include $(LUFA_PATH)/Build/lufa.doxygen.in include $(LUFA_PATH)/Build/lufa_doxygen.mk
include $(LUFA_PATH)/Build/lufa.dfu.in include $(LUFA_PATH)/Build/lufa_dfu.mk
include $(LUFA_PATH)/Build/lufa.hid.in include $(LUFA_PATH)/Build/lufa_hid.mk
include $(LUFA_PATH)/Build/lufa.avrdude.in include $(LUFA_PATH)/Build/lufa_avrdude.mk
include $(LUFA_PATH)/Build/lufa.atprogram.in include $(LUFA_PATH)/Build/lufa_atprogram.mk
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment