diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-09-18 16:00:49 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-09-18 16:00:49 +0000 |
commit | 11fa17a7dbef79cab68f697ac587ff64d490ee2b (patch) | |
tree | 0792f476915c2ce05298b8360cf7005b9d3bde1b /LUFA/Build | |
parent | 1eefbf9041ba71667a0dcf351685512db1244499 (diff) | |
download | lufa-11fa17a7dbef79cab68f697ac587ff64d490ee2b.tar.gz lufa-11fa17a7dbef79cab68f697ac587ff64d490ee2b.tar.bz2 lufa-11fa17a7dbef79cab68f697ac587ff64d490ee2b.zip |
Add architecture test for the non-standard avr-size patch, so that it is not tested on architectures where the patch isn't available.
Diffstat (limited to 'LUFA/Build')
-rw-r--r-- | LUFA/Build/lufa_build.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/LUFA/Build/lufa_build.mk b/LUFA/Build/lufa_build.mk index 3dc555cf9..04596c51b 100644 --- a/LUFA/Build/lufa_build.mk +++ b/LUFA/Build/lufa_build.mk @@ -204,8 +204,11 @@ else ifeq ($(ARCH), UC3) endif # Determine flags to pass to the size utility based on its reported features (only invoke if size target required) +# and on an architecture where this non-standard patch is available +ifneq ($(ARCH), UC3) 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 ) +endif # Pre-build informational target, to give compiler and project name information when building build_begin: |