Clean up and speed up build tests by turning off expensive and slow size optimization...
[pub/USBasp.git] / BuildTests / ModuleTest / makefile.xmega
index de27630..75d0b3a 100644 (file)
@@ -143,7 +143,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
@@ -209,7 +209,7 @@ CFLAGS += -fpack-struct
 CFLAGS += -fshort-enums\r
 CFLAGS += -fno-strict-aliasing\r
 CFLAGS += -fno-split-wide-types\r
 CFLAGS += -fshort-enums\r
 CFLAGS += -fno-strict-aliasing\r
 CFLAGS += -fno-split-wide-types\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
@@ -259,7 +259,7 @@ CPPFLAGS += -fno-strict-aliasing
 CPPFLAGS += -fno-exceptions\r
 CPPFLAGS += -Wall\r
 CPPFLAGS += -Wundef\r
 CPPFLAGS += -fno-exceptions\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
@@ -273,7 +273,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),-gstabs,--listing-cont-lines=100\r
+ASFLAGS = $(ADEFS)\r
+#ASFLAGS += -Wa,-adhlns=$(<:%.S=$(OBJDIR)/%.lst),-gstabs,--listing-cont-lines=100\r
 \r
 \r
 #---------------- Library Options ----------------\r
 \r
 \r
 #---------------- Library Options ----------------\r