Fix hard-coded cross-arch utility name in the BUILD build system module.
authorDean Camera <dean@fourwalledcubicle.com>
Sun, 24 Jun 2012 13:32:39 +0000 (13:32 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Sun, 24 Jun 2012 13:32:39 +0000 (13:32 +0000)
LUFA/Build/lufa.build.in

index 1fccbbf..4719d7b 100644 (file)
@@ -209,7 +209,7 @@ size: $(TARGET).elf
 
 symbol-sizes: $(TARGET).elf
        @echo $(MSG_NM_CMD) Extracting \"$<\" symbols with decimal byte sizes
 
 symbol-sizes: $(TARGET).elf
        @echo $(MSG_NM_CMD) Extracting \"$<\" symbols with decimal byte sizes
-       avr-nm --size-sort --demangle --radix=d $<
+       $(CROSS)-nm --size-sort --demangle --radix=d $<
 
 clean:
        @echo $(MSG_REMOVE_CMD) Removing object files of \"$(TARGET)\"
 
 clean:
        @echo $(MSG_REMOVE_CMD) Removing object files of \"$(TARGET)\"