mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-18 12:05:11 +00:00
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
|
||||
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 New Issue
Block a user