diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-05-13 19:10:46 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-05-13 19:10:46 +0000 |
commit | 80e278acde4ef31a2742f49639e2053ffb0dd975 (patch) | |
tree | 707f573916c28cd86d2044392feee86f8b18c4fe /BuildTests/ModuleTest/makefile.avr8 | |
parent | 0a00ee403732be3925bf68c755823b93dfb3169d (diff) | |
download | lufa-80e278acde4ef31a2742f49639e2053ffb0dd975.tar.gz lufa-80e278acde4ef31a2742f49639e2053ffb0dd975.tar.bz2 lufa-80e278acde4ef31a2742f49639e2053ffb0dd975.zip |
Clean up and speed up build tests by turning off expensive and slow size optimizations, and generation of assembly listings (*.lst) for each compiled source file.
Diffstat (limited to 'BuildTests/ModuleTest/makefile.avr8')
-rw-r--r-- | BuildTests/ModuleTest/makefile.avr8 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/BuildTests/ModuleTest/makefile.avr8 b/BuildTests/ModuleTest/makefile.avr8 index 360b1ee8b..89f4e4626 100644 --- a/BuildTests/ModuleTest/makefile.avr8 +++ b/BuildTests/ModuleTest/makefile.avr8 @@ -154,7 +154,7 @@ ASRC = Dummy.S # Optimization level, can be [0, 1, 2, 3, s].
# 0 = turn off optimization. s = optimize for size.
# (Note: 3 is not always the best optimization level. See avr-libc FAQ.)
-OPT = s
+OPT = 1
# Debugging format.
@@ -220,7 +220,7 @@ CFLAGS += -fpack-struct CFLAGS += -fshort-enums
CFLAGS += -fno-strict-aliasing
CFLAGS += -fno-split-wide-types
-CFLAGS += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst)
+#CFLAGS += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst)
CFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))
CFLAGS += $(CSTANDARD)
CFLAGS += -Werror
@@ -268,7 +268,7 @@ CPPFLAGS += -fshort-enums CPPFLAGS += -fno-exceptions
CPPFLAGS += -Wall
CPPFLAGS += -Wundef
-CPPFLAGS += -Wa,-adhlns=$(<:%.cpp=$(OBJDIR)/%.lst)
+#CPPFLAGS += -Wa,-adhlns=$(<:%.cpp=$(OBJDIR)/%.lst)
CPPFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))
@@ -281,7 +281,8 @@ CPPFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS)) # files -- see avr-libc docs [FIXME: not yet described there]
# -listing-cont-lines: Sets the maximum number of continuation lines of hex
# dump that will be displayed for a given single line of source input.
-ASFLAGS = $(ADEFS) -Wa,-adhlns=$(<:%.S=$(OBJDIR)/%.lst),-gstabs,--listing-cont-lines=100
+ASFLAGS = $(ADEFS)
+#ASFLAGS += -Wa,-adhlns=$(<:%.S=$(OBJDIR)/%.lst),-gstabs,--listing-cont-lines=100
#---------------- Library Options ----------------
|