diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-07-14 13:18:13 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-07-14 13:18:13 +0000 |
commit | b7e3c86e4e5d4262a608163176d0b01c0cc54b29 (patch) | |
tree | 1a3e64fe61c730c56a8c808eafc2d5398a187c28 /LUFA/Build | |
parent | d4980e58d420bd509a4bd7996aee74c4fbb01cd9 (diff) | |
download | lufa-b7e3c86e4e5d4262a608163176d0b01c0cc54b29.tar.gz lufa-b7e3c86e4e5d4262a608163176d0b01c0cc54b29.tar.bz2 lufa-b7e3c86e4e5d4262a608163176d0b01c0cc54b29.zip |
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.
Diffstat (limited to 'LUFA/Build')
-rw-r--r-- | LUFA/Build/HID_EEPROM_Loader/makefile | 10 | ||||
-rw-r--r-- | LUFA/Build/lufa_atprogram.mk (renamed from LUFA/Build/lufa.atprogram.in) | 0 | ||||
-rw-r--r-- | LUFA/Build/lufa_avrdude.mk (renamed from LUFA/Build/lufa.avrdude.in) | 0 | ||||
-rw-r--r-- | LUFA/Build/lufa_build.mk (renamed from LUFA/Build/lufa.build.in) | 6 | ||||
-rw-r--r-- | LUFA/Build/lufa_core.mk (renamed from LUFA/Build/lufa.core.in) | 0 | ||||
-rw-r--r-- | LUFA/Build/lufa_cppcheck.mk (renamed from LUFA/Build/lufa.cppcheck.in) | 0 | ||||
-rw-r--r-- | LUFA/Build/lufa_dfu.mk (renamed from LUFA/Build/lufa.dfu.in) | 0 | ||||
-rw-r--r-- | LUFA/Build/lufa_doxygen.mk (renamed from LUFA/Build/lufa.doxygen.in) | 0 | ||||
-rw-r--r-- | LUFA/Build/lufa_hid.mk (renamed from LUFA/Build/lufa.hid.in) | 0 | ||||
-rw-r--r-- | LUFA/Build/lufa_sources.mk (renamed from LUFA/Build/lufa.sources.in) | 0 |
10 files changed, 8 insertions, 8 deletions
diff --git a/LUFA/Build/HID_EEPROM_Loader/makefile b/LUFA/Build/HID_EEPROM_Loader/makefile index 6226783ed..f6dcbea67 100644 --- a/LUFA/Build/HID_EEPROM_Loader/makefile +++ b/LUFA/Build/HID_EEPROM_Loader/makefile @@ -33,8 +33,8 @@ InputEEData.o: InputEEData.bin $(TARGET).o $(MAKEFILE_LIST) avr-objcopy -I binary -O elf32-avr -B $(call FIND_AVR_SUBARCH) --rename-section .data=.progmem.data,contents,alloc,readonly,data $< $@
# Include LUFA build script makefiles
-include $(LUFA_PATH)/Build/lufa.core.in
-include $(LUFA_PATH)/Build/lufa.build.in
-include $(LUFA_PATH)/Build/lufa.cppcheck.in
-include $(LUFA_PATH)/Build/lufa.doxygen.in
-include $(LUFA_PATH)/Build/lufa.hid.in
+include $(LUFA_PATH)/Build/lufa_core.mk
+include $(LUFA_PATH)/Build/lufa_build.mk
+include $(LUFA_PATH)/Build/lufa_cppcheck.mk
+include $(LUFA_PATH)/Build/lufa_doxygen.mk
+include $(LUFA_PATH)/Build/lufa_hid.mk
diff --git a/LUFA/Build/lufa.atprogram.in b/LUFA/Build/lufa_atprogram.mk index f9f5dfc9c..f9f5dfc9c 100644 --- a/LUFA/Build/lufa.atprogram.in +++ b/LUFA/Build/lufa_atprogram.mk diff --git a/LUFA/Build/lufa.avrdude.in b/LUFA/Build/lufa_avrdude.mk index 21f93ef26..21f93ef26 100644 --- a/LUFA/Build/lufa.avrdude.in +++ b/LUFA/Build/lufa_avrdude.mk diff --git a/LUFA/Build/lufa.build.in b/LUFA/Build/lufa_build.mk index db0a78f21..a78d0f9ba 100644 --- a/LUFA/Build/lufa.build.in +++ b/LUFA/Build/lufa_build.mk @@ -187,9 +187,9 @@ else BASE_LD_FLAGS += -Wl,--relax endif -# Determine flags to pass to the size utility based on its reported features -SIZE_MCU_FLAG := $(shell $(CROSS)-size --help | grep -- --mcu > /dev/null && echo --mcu=$(MCU) ) -SIZE_FORMAT_FLAG := $(shell $(CROSS)-size --help | grep -- --format=.*avr > /dev/null && echo --format=avr ) +# Determine flags to pass to the size utility based on its reported features (only invoke if size target required) +size: SIZE_MCU_FLAG := $(shell $(CROSS)-size --help | grep -- --mcu > /dev/null && echo --mcu=$(MCU) ) +size: SIZE_FORMAT_FLAG := $(shell $(CROSS)-size --help | grep -- --format=.*avr > /dev/null && echo --format=avr ) build_begin: diff --git a/LUFA/Build/lufa.core.in b/LUFA/Build/lufa_core.mk index f44b407ed..f44b407ed 100644 --- a/LUFA/Build/lufa.core.in +++ b/LUFA/Build/lufa_core.mk diff --git a/LUFA/Build/lufa.cppcheck.in b/LUFA/Build/lufa_cppcheck.mk index 1593a4279..1593a4279 100644 --- a/LUFA/Build/lufa.cppcheck.in +++ b/LUFA/Build/lufa_cppcheck.mk diff --git a/LUFA/Build/lufa.dfu.in b/LUFA/Build/lufa_dfu.mk index ba75f14a7..ba75f14a7 100644 --- a/LUFA/Build/lufa.dfu.in +++ b/LUFA/Build/lufa_dfu.mk diff --git a/LUFA/Build/lufa.doxygen.in b/LUFA/Build/lufa_doxygen.mk index 7f7334311..7f7334311 100644 --- a/LUFA/Build/lufa.doxygen.in +++ b/LUFA/Build/lufa_doxygen.mk diff --git a/LUFA/Build/lufa.hid.in b/LUFA/Build/lufa_hid.mk index a74197a0b..a74197a0b 100644 --- a/LUFA/Build/lufa.hid.in +++ b/LUFA/Build/lufa_hid.mk diff --git a/LUFA/Build/lufa.sources.in b/LUFA/Build/lufa_sources.mk index 0e026c54e..0e026c54e 100644 --- a/LUFA/Build/lufa.sources.in +++ b/LUFA/Build/lufa_sources.mk |