Add a rule for generating assembly listings on mc1322x targets, for example: "make webserver6.lst".
This commit is contained in:
parent
5fbefbd87b
commit
0dafba4f6d
|
@ -34,6 +34,7 @@ AS = $(CROSS)as
|
||||||
AR = $(CROSS)ar
|
AR = $(CROSS)ar
|
||||||
NM = $(CROSS)nm
|
NM = $(CROSS)nm
|
||||||
OBJCOPY = $(CROSS)objcopy
|
OBJCOPY = $(CROSS)objcopy
|
||||||
|
OBJDUMP = $(CROSS)objdump
|
||||||
STRIP = $(CROSS)strip
|
STRIP = $(CROSS)strip
|
||||||
|
|
||||||
PROJECT_OBJECTFILES += ${addprefix $(OBJECTDIR)/,$(CONTIKI_TARGET_MAIN:.c=.o)}
|
PROJECT_OBJECTFILES += ${addprefix $(OBJECTDIR)/,$(CONTIKI_TARGET_MAIN:.c=.o)}
|
||||||
|
@ -123,4 +124,6 @@ CUSTOM_RULE_C_TO_CO=yes
|
||||||
$(TRACE_CC)
|
$(TRACE_CC)
|
||||||
$(Q)$(CC) $(LDFLAGS) $(CFLAGS) -nostartfiles -o $@ $(filter-out %.a %.lds,$^) $(filter %.a,$^) $(filter %.a,$^)
|
$(Q)$(CC) $(LDFLAGS) $(CFLAGS) -nostartfiles -o $@ $(filter-out %.a %.lds,$^) $(filter %.a,$^) $(filter %.a,$^)
|
||||||
|
|
||||||
|
%.lst: %.elf
|
||||||
|
$(OBJDUMP) -DS $< > $@
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue