Merge pull request #480 from hexluthor/upstream

Add a rule for generating assembly listings on mc1322x targets, for example: "make webserver6.lst".
This commit is contained in:
Mariano Alvira 2013-12-02 09:18:34 -08:00
commit 70215b634d

View file

@ -34,6 +34,7 @@ AS = $(CROSS)as
AR = $(CROSS)ar
NM = $(CROSS)nm
OBJCOPY = $(CROSS)objcopy
OBJDUMP = $(CROSS)objdump
STRIP = $(CROSS)strip
PROJECT_OBJECTFILES += ${addprefix $(OBJECTDIR)/,$(CONTIKI_TARGET_MAIN:.c=.o)}
@ -123,4 +124,6 @@ CUSTOM_RULE_C_TO_CO=yes
$(TRACE_CC)
$(Q)$(CC) $(LDFLAGS) $(CFLAGS) -nostartfiles -o $@ $(filter-out %.a %.lds,$^) $(filter %.a,$^) $(filter %.a,$^)
%.lst: %.elf
$(OBJDUMP) -DS $< > $@