projects
/
pub
/
USBasp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1eefbf9
)
Add architecture test for the non-standard avr-size patch, so that it is not tested...
author
Dean Camera
<dean@fourwalledcubicle.com>
Tue, 18 Sep 2012 16:00:49 +0000
(16:00 +0000)
committer
Dean Camera
<dean@fourwalledcubicle.com>
Tue, 18 Sep 2012 16:00:49 +0000
(16:00 +0000)
LUFA/Build/lufa_build.mk
patch
|
blob
|
blame
|
history
diff --git
a/LUFA/Build/lufa_build.mk
b/LUFA/Build/lufa_build.mk
index
3dc555c
..
04596c5
100644
(file)
--- 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)
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 )
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:
# Pre-build informational target, to give compiler and project name information when building
build_begin: