Clean up and speed up build tests by turning off expensive and slow size optimization...
[pub/USBasp.git] / BuildTests / ModuleTest / makefile.uc3
index 05b8d58..15945a5 100644 (file)
@@ -126,7 +126,7 @@ ASRC = Dummy.S                 \
 # Optimization level, can be [0, 1, 2, 3, s]. \r
 #     0 = turn off optimization. s = optimize for size.\r
 #     (Note: 3 is not always the best optimization level. See avr-libc FAQ.)\r
 # Optimization level, can be [0, 1, 2, 3, s]. \r
 #     0 = turn off optimization. s = optimize for size.\r
 #     (Note: 3 is not always the best optimization level. See avr-libc FAQ.)\r
-OPT = s\r
+OPT = 1\r
 \r
 \r
 # List any extra directories to look for include files here.\r
 \r
 \r
 # List any extra directories to look for include files here.\r
@@ -186,7 +186,7 @@ CFLAGS += -funsigned-bitfields
 CFLAGS += -ffunction-sections\r
 CFLAGS += -fno-strict-aliasing\r
 CFLAGS += -masm-addr-pseudos\r
 CFLAGS += -ffunction-sections\r
 CFLAGS += -fno-strict-aliasing\r
 CFLAGS += -masm-addr-pseudos\r
-CFLAGS += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst)\r
+#CFLAGS += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst)\r
 CFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))\r
 CFLAGS += $(CSTANDARD)\r
 CFLAGS += -Werror\r
 CFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))\r
 CFLAGS += $(CSTANDARD)\r
 CFLAGS += -Werror\r
@@ -235,7 +235,7 @@ CPPFLAGS += -fno-exceptions
 CPPFLAGS += -masm-addr-pseudos\r
 CPPFLAGS += -Wall\r
 CPPFLAGS += -Wundef\r
 CPPFLAGS += -masm-addr-pseudos\r
 CPPFLAGS += -Wall\r
 CPPFLAGS += -Wundef\r
-CPPFLAGS += -Wa,-adhlns=$(<:%.cpp=$(OBJDIR)/%.lst)\r
+#CPPFLAGS += -Wa,-adhlns=$(<:%.cpp=$(OBJDIR)/%.lst)\r
 CPPFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))\r
 #CPPFLAGS += $(CSTANDARD)\r
 \r
 CPPFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))\r
 #CPPFLAGS += $(CSTANDARD)\r
 \r
@@ -249,7 +249,8 @@ CPPFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))
 #             files -- see avr-libc docs [FIXME: not yet described there]\r
 #  -listing-cont-lines: Sets the maximum number of continuation lines of hex \r
 #       dump that will be displayed for a given single line of source input.\r
 #             files -- see avr-libc docs [FIXME: not yet described there]\r
 #  -listing-cont-lines: Sets the maximum number of continuation lines of hex \r
 #       dump that will be displayed for a given single line of source input.\r
-ASFLAGS = $(ADEFS) -Wa,-adhlns=$(<:%.S=$(OBJDIR)/%.lst)\r
+ASFLAGS = $(ADEFS)\r
+#ASFLAGS += -Wa,-adhlns=$(<:%.S=$(OBJDIR)/%.lst),-gstabs,--listing-cont-lines=100\r
 \r
 \r
 #---------------- Linker Options ----------------\r
 \r
 \r
 #---------------- Linker Options ----------------\r