Clean up and speed up build tests by turning off expensive and slow size optimization...
authorDean Camera <dean@fourwalledcubicle.com>
Sun, 13 May 2012 19:10:46 +0000 (19:10 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Sun, 13 May 2012 19:10:46 +0000 (19:10 +0000)
13 files changed:
BuildTests/BoardDriverTest/makefile
BuildTests/BoardDriverTest/makefile.avr8
BuildTests/BoardDriverTest/makefile.uc3
BuildTests/BoardDriverTest/makefile.xmega
BuildTests/BootloaderTest/BootloaderDeviceMap.cfg
BuildTests/BootloaderTest/makefile
BuildTests/ModuleTest/makefile.avr8
BuildTests/ModuleTest/makefile.uc3
BuildTests/ModuleTest/makefile.xmega
BuildTests/SingleUSBModeTest/makefile.avr8
BuildTests/SingleUSBModeTest/makefile.uc3
BuildTests/SingleUSBModeTest/makefile.xmega
LUFA/CodeTemplates/makefile_template.uc3

index bc4d559..68180c2 100644 (file)
@@ -31,23 +31,23 @@ makeboardlist:
 testboards:\r
        @echo "buildtest:" > BuildMakefile\r
        \r
-       @while read line; \\r
-        do \\r
-          build_cfg=`grep "$$line " BoardDeviceMap.cfg | sed 's/ //g' | grep -v "#" | cut -d'=' -f2-`; \\r
-          \\r
-          build_board=$$line; \\r
-          build_arch=`echo $$build_cfg | cut -d':' -f1`; \\r
-          build_mcu=`echo $$build_cfg | cut -d':' -f2`; \\r
-          \\r
-          if ( test -z "$$build_cfg" ); then \\r
-            echo "No matching information set for board $$build_board"; \\r
-          else \\r
+       @while read line;                                                         \\r
+        do                                                                       \\r
+          build_cfg=`grep "$$line " BoardDeviceMap.cfg | grep -v "#" | cut -d'=' -f2- | sed 's/ //g'`; \\r
+                                                                                 \\r
+          build_board=$$line;                                                    \\r
+          build_arch=`echo $$build_cfg | cut -d':' -f1`;                         \\r
+          build_mcu=`echo $$build_cfg | cut -d':' -f2`;                          \\r
+                                                                                 \\r
+          if ( test -z "$$build_cfg" ); then                                     \\r
+            echo "No matching information set for board $$build_board";          \\r
+          else                                                                   \\r
             echo "Found board configuration for $$build_board - $$build_arch, $$build_mcu"; \\r
-                \\r
+                                                                                     \\r
                 printf "\t@echo Building dummy project for $$build_board...\n" >> BuildMakefile; \\r
                 printf "\tmake -s -f makefile.%s clean\n" $$build_arch >> BuildMakefile; \\r
                 printf "\tmake -s -f makefile.%s MCU=%s BOARD=%s elf\n\n" $$build_arch $$build_mcu $$build_board >> BuildMakefile; \\r
-          fi; \\r
+          fi;                                                                    \\r
         done < BoardList.txt\r
         \r
         $(MAKE) -f BuildMakefile buildtest\r
index 1f0d759..eed8b30 100644 (file)
@@ -149,7 +149,7 @@ ASRC =
 # 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
 # Debugging format.\r
@@ -222,7 +222,7 @@ CFLAGS += -Wstrict-prototypes
 #CFLAGS += -Wundef\r
 #CFLAGS += -Wunreachable-code\r
 #CFLAGS += -Wsign-compare\r
-CFLAGS += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst)\r
+#CFLAGS += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst)\r
 CFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))\r
 CFLAGS += $(CSTANDARD)\r
 \r
@@ -249,7 +249,7 @@ CPPFLAGS += -Wundef
 #CPPFLAGS += -Wstrict-prototypes\r
 #CPPFLAGS += -Wunreachable-code\r
 #CPPFLAGS += -Wsign-compare\r
-CPPFLAGS += -Wa,-adhlns=$(<:%.cpp=$(OBJDIR)/%.lst)\r
+#CPPFLAGS += -Wa,-adhlns=$(<:%.cpp=$(OBJDIR)/%.lst)\r
 CPPFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))\r
 #CPPFLAGS += $(CSTANDARD)\r
 \r
@@ -263,7 +263,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
-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
index 7e75b54..8f307b1 100644 (file)
@@ -123,7 +123,7 @@ ASRC =
 # 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
@@ -185,7 +185,7 @@ CFLAGS += -fno-strict-aliasing
 CFLAGS += -Wall\r
 CFLAGS += -Wstrict-prototypes\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
 \r
@@ -208,7 +208,7 @@ CPPFLAGS += -fno-exceptions
 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
@@ -222,7 +222,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
-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
 #---------------- Linker Options ----------------\r
index 5a048b8..3c46efa 100644 (file)
@@ -140,7 +140,7 @@ ASRC =
 # 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
@@ -207,7 +207,7 @@ CFLAGS += -fshort-enums
 CFLAGS += -fno-strict-aliasing\r
 CFLAGS += -Wall\r
 CFLAGS += -Wstrict-prototypes\r
-CFLAGS += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst)\r
+#CFLAGS += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst)\r
 CFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))\r
 CFLAGS += $(CSTANDARD)\r
 \r
@@ -231,7 +231,7 @@ CPPFLAGS += -fno-strict-aliasing
 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
@@ -245,7 +245,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
-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
index 8cb5d28..8a023f5 100644 (file)
@@ -2,42 +2,42 @@
 #\r
 # ------------ CDC Bootloader -------------\r
 CDC = avr8 : at90usb1287 : NONE : 128 : 8 :\r
-CDC = avr8 : at90usb647 : NONE : 64 : 4 :\r
+CDC = avr8 : at90usb647  : NONE :  64 : 4 :\r
 CDC = avr8 : at90usb1286 : NONE : 128 : 8 :\r
-CDC = avr8 : at90usb646 : NONE : 64 : 4 :\r
-CDC = avr8 : atmega32u4 : NONE : 32 : 4 :\r
-CDC = avr8 : atmega16u4 : NONE : 16 : 4 :\r
-CDC = avr8 : atmega32u2 : NONE : 32 : 4 :\r
-CDC = avr8 : atmega16u2 : NONE : 16 : 4 :\r
-CDC = avr8 : atmega8u2 : NONE : 8 : 4 :\r
-CDC = avr8 : at90usb162 : NONE : 16 : 4 :\r
-CDC = avr8 : at90usb82 : NONE : 8 : 4 :\r
+CDC = avr8 : at90usb646  : NONE :  64 : 4 :\r
+CDC = avr8 : atmega32u4  : NONE :  32 : 4 :\r
+CDC = avr8 : atmega16u4  : NONE :  16 : 4 :\r
+CDC = avr8 : atmega32u2  : NONE :  32 : 4 :\r
+CDC = avr8 : atmega16u2  : NONE :  16 : 4 :\r
+CDC = avr8 : atmega8u2   : NONE :   8 : 4 :\r
+CDC = avr8 : at90usb162  : NONE :  16 : 4 :\r
+CDC = avr8 : at90usb82   : NONE :   8 : 4 :\r
 #\r
 # ------------ DFU Bootloader -------------\r
 DFU = avr8 : at90usb1287 : NONE : 128 : 8 :\r
-DFU = avr8 : at90usb647 : NONE : 64 : 4 :\r
+DFU = avr8 : at90usb647  : NONE :  64 : 4 :\r
 DFU = avr8 : at90usb1286 : NONE : 128 : 8 :\r
-DFU = avr8 : at90usb646 : NONE : 64 : 4 :\r
-DFU = avr8 : atmega32u6 : NONE : 32 : 4 :\r
-DFU = avr8 : atmega32u4 : NONE : 32 : 4 :\r
-DFU = avr8 : atmega16u4 : NONE : 16 : 4 :\r
-DFU = avr8 : atmega32u2 : NONE : 32 : 4 :\r
-DFU = avr8 : atmega16u2 : NONE : 16 : 4 :\r
-DFU = avr8 : atmega8u2 : NONE : 8 : 4 :\r
-DFU = avr8 : at90usb162 : NONE : 16 : 4 :\r
-DFU = avr8 : at90usb82 : NONE : 8 : 4 :\r
+DFU = avr8 : at90usb646  : NONE :  64 : 4 :\r
+DFU = avr8 : atmega32u6  : NONE :  32 : 4 :\r
+DFU = avr8 : atmega32u4  : NONE :  32 : 4 :\r
+DFU = avr8 : atmega16u4  : NONE :  16 : 4 :\r
+DFU = avr8 : atmega32u2  : NONE :  32 : 4 :\r
+DFU = avr8 : atmega16u2  : NONE :  16 : 4 :\r
+DFU = avr8 : atmega8u2   : NONE :   8 : 4 :\r
+DFU = avr8 : at90usb162  : NONE :  16 : 4 :\r
+DFU = avr8 : at90usb82   : NONE :   8 : 4 :\r
 #\r
 # ------------ HID Bootloader -------------\r
 HID = avr8 : at90usb1287 : NONE : 128 : 4 :\r
-HID = avr8 : at90usb647 : NONE : 64 : 4 :\r
+HID = avr8 : at90usb647  : NONE :  64 : 4 :\r
 HID = avr8 : at90usb1286 : NONE : 128 : 4 :\r
-HID = avr8 : at90usb646 : NONE : 64 : 4 :\r
-HID = avr8 : atmega32u6 : NONE : 32 : 4 :\r
-HID = avr8 : atmega32u4 : NONE : 32 : 4 :\r
-HID = avr8 : atmega16u4 : NONE : 16 : 4 :\r
-HID = avr8 : atmega32u2 : NONE : 32 : 2 :\r
-HID = avr8 : atmega16u2 : NONE : 16 : 2 :\r
-HID = avr8 : atmega8u2 : NONE : 8 : 2 :\r
-HID = avr8 : at90usb162 : NONE : 16 : 2 :\r
-HID = avr8 : at90usb82 : NONE : 8 : 2 :\r
+HID = avr8 : at90usb646  : NONE :  64 : 4 :\r
+HID = avr8 : atmega32u6  : NONE :  32 : 4 :\r
+HID = avr8 : atmega32u4  : NONE :  32 : 4 :\r
+HID = avr8 : atmega16u4  : NONE :  16 : 4 :\r
+HID = avr8 : atmega32u2  : NONE :  32 : 2 :\r
+HID = avr8 : atmega16u2  : NONE :  16 : 2 :\r
+HID = avr8 : atmega8u2   : NONE :   8 : 2 :\r
+HID = avr8 : at90usb162  : NONE :  16 : 2 :\r
+HID = avr8 : at90usb82   : NONE :   8 : 2 :\r
 #
\ No newline at end of file
index 7ce56c4..5b378ec 100644 (file)
@@ -27,24 +27,26 @@ end:
 testbootloaders:\r
        @echo "buildtest:" > BuildMakefile\r
        \r
-       @while read line; \\r
-        do \\r
-          build_cfg=`echo $$line | sed 's/ //g' | grep -v "#"`; \\r
-          \\r
-          if ( test -n "$$build_cfg" ); then \\r
+       @while read line;                                         \\r
+        do                                                       \\r
+          build_cfg=`echo $$line | grep -v "#" | sed 's/ //g'`;  \\r
+                                                                 \\r
+          if ( test -n "$$build_cfg" ); then                     \\r
             build_bootloader=`echo $$build_cfg | cut -d'=' -f1`; \\r
-            build_arch=`echo $$build_cfg | cut -d'=' -f2- | cut -d':' -f1`; \\r
-            build_mcu=`echo $$build_cfg | cut -d'=' -f2- | cut -d':' -f2`; \\r
-            build_board=`echo $$build_cfg | cut -d'=' -f2- | cut -d':' -f3`; \\r
-            build_flashsize=`echo $$build_cfg | cut -d'=' -f2- | cut -d':' -f4`; \\r
-            build_bootsize=`echo $$build_cfg | cut -d'=' -f2- | cut -d':' -f5`; \\r
-            \\r
+                build_cfg=`echo $$build_cfg | cut -d'=' -f2-`;       \\r
+                                                                     \\r
+            build_arch=`echo $$build_cfg | cut -d':' -f1`;       \\r
+            build_mcu=`echo $$build_cfg | cut -d':' -f2`;        \\r
+            build_board=`echo $$build_cfg | cut -d':' -f3`;      \\r
+            build_flashsize=`echo $$build_cfg | cut -d':' -f4`;  \\r
+            build_bootsize=`echo $$build_cfg | cut -d':' -f5`;   \\r
+                                                                 \\r
             printf "Found bootloader configuration for bootloader '%s' (FLASH: %3s KB | BOOT: %3s KB | MCU: %12s / %4s)\n" $$build_bootloader $$build_flashsize $$build_bootsize $$build_mcu $$build_arch; \\r
-            \\r
+                                                                 \\r
             printf "\t@echo Building bootloader %s - %s - FLASH: %s KB, BOOT: %s KB\n" $$build_bootloader $$build_mcu $$build_flashsize $$build_bootsize >> BuildMakefile; \\r
             printf "\tmake -s -C $(LUFA_ROOT_PATH)/Bootloaders/%s/ clean\n" $$build_bootloader >> BuildMakefile; \\r
             printf "\tmake -s -C $(LUFA_ROOT_PATH)/Bootloaders/%s/ MCU=%s BOARD=%s FLASH_SIZE_KB=%s BOOT_SECTION_SIZE_KB=%s elf\n\n" $$build_bootloader $$build_mcu $$build_board $$build_flashsize $$build_bootsize >> BuildMakefile; \\r
-          fi; \\r
+          fi;                                                    \\r
         done < BootloaderDeviceMap.cfg\r
         \r
         $(MAKE) -f BuildMakefile buildtest\r
index 360b1ee..89f4e46 100644 (file)
@@ -154,7 +154,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
-OPT = s\r
+OPT = 1\r
 \r
 \r
 # Debugging format.\r
@@ -220,7 +220,7 @@ CFLAGS += -fpack-struct
 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
@@ -268,7 +268,7 @@ CPPFLAGS += -fshort-enums
 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
 \r
 \r
@@ -281,7 +281,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
-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
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
-OPT = s\r
+OPT = 1\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 += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst)\r
+#CFLAGS += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst)\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 += -Wa,-adhlns=$(<:%.cpp=$(OBJDIR)/%.lst)\r
+#CPPFLAGS += -Wa,-adhlns=$(<:%.cpp=$(OBJDIR)/%.lst)\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
-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
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
-OPT = s\r
+OPT = 1\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 += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst)\r
+#CFLAGS += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst)\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 += -Wa,-adhlns=$(<:%.cpp=$(OBJDIR)/%.lst)\r
+#CPPFLAGS += -Wa,-adhlns=$(<:%.cpp=$(OBJDIR)/%.lst)\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
-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
index fc0f54b..1f0e77e 100644 (file)
@@ -150,7 +150,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
-OPT = s\r
+OPT = 1\r
 \r
 \r
 # Debugging format.\r
@@ -223,7 +223,7 @@ CFLAGS += -Wstrict-prototypes
 #CFLAGS += -Wundef\r
 #CFLAGS += -Wunreachable-code\r
 #CFLAGS += -Wsign-compare\r
-CFLAGS += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst)\r
+#CFLAGS += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst)\r
 CFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))\r
 CFLAGS += $(CSTANDARD)\r
 \r
@@ -250,7 +250,7 @@ CPPFLAGS += -Wundef
 #CPPFLAGS += -Wstrict-prototypes\r
 #CPPFLAGS += -Wunreachable-code\r
 #CPPFLAGS += -Wsign-compare\r
-CPPFLAGS += -Wa,-adhlns=$(<:%.cpp=$(OBJDIR)/%.lst)\r
+#CPPFLAGS += -Wa,-adhlns=$(<:%.cpp=$(OBJDIR)/%.lst)\r
 CPPFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))\r
 #CPPFLAGS += $(CSTANDARD)\r
 \r
@@ -264,7 +264,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
-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
index 4bc729a..bcf8830 100644 (file)
@@ -124,7 +124,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
-OPT = s\r
+OPT = 1\r
 \r
 \r
 # List any extra directories to look for include files here.\r
@@ -186,7 +186,7 @@ CFLAGS += -fno-strict-aliasing
 CFLAGS += -Wall\r
 CFLAGS += -Wstrict-prototypes\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
 \r
@@ -209,7 +209,7 @@ CPPFLAGS += -fno-exceptions
 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
@@ -223,7 +223,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
-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
 #---------------- Linker Options ----------------\r
index e3ad8f4..d2bf377 100644 (file)
@@ -141,7 +141,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
-OPT = s\r
+OPT = 1\r
 \r
 \r
 # List any extra directories to look for include files here.\r
@@ -208,7 +208,7 @@ CFLAGS += -fshort-enums
 CFLAGS += -fno-strict-aliasing\r
 CFLAGS += -Wall\r
 CFLAGS += -Wstrict-prototypes\r
-CFLAGS += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst)\r
+#CFLAGS += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst)\r
 CFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))\r
 CFLAGS += $(CSTANDARD)\r
 \r
@@ -232,7 +232,7 @@ CPPFLAGS += -fno-strict-aliasing
 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
@@ -246,7 +246,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
-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
index 9825760..a73e7d4 100644 (file)
@@ -188,7 +188,7 @@ CFLAGS += -fno-strict-aliasing
 CFLAGS += -Wall
 CFLAGS += -Wstrict-prototypes
 CFLAGS += -masm-addr-pseudos
-CFLAGS += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst)
+#CFLAGS += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst)
 CFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))
 CFLAGS += $(CSTANDARD)
 
@@ -211,7 +211,7 @@ CPPFLAGS += -fno-exceptions
 CPPFLAGS += -masm-addr-pseudos
 CPPFLAGS += -Wall
 CPPFLAGS += -Wundef
-CPPFLAGS += -Wa,-adhlns=$(<:%.cpp=$(OBJDIR)/%.lst)
+#CPPFLAGS += -Wa,-adhlns=$(<:%.cpp=$(OBJDIR)/%.lst)
 CPPFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))
 #CPPFLAGS += $(CSTANDARD)
 
@@ -225,7 +225,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
 
 
 #---------------- Linker Options ----------------