Add a rule for generating assembly listings on mc1322x targets, for example: "make webserver6.lst".
This commit is contained in:
parent
5fbefbd87b
commit
0dafba4f6d
1 changed files with 3 additions and 0 deletions
|
@ -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 $< > $@
|
||||
|
||||
|
|
Loading…
Reference in a new issue