Add avr-size invocation
This commit is contained in:
parent
3f284654ea
commit
e24dfa6e65
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -5,6 +5,7 @@ override LDFLAGS =
|
|||
CC = avr-gcc
|
||||
OBJCOPY = avr-objcopy
|
||||
OBJDUMP = avr-objdump
|
||||
SIZE = avr-size
|
||||
AVRDUDE_ARGS =
|
||||
|
||||
ifdef BOARD
|
||||
|
@ -31,6 +32,7 @@ deps.mk: *.c drivers/*.c
|
|||
|
||||
%.elf: %.o
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
|
||||
$(SIZE) $@
|
||||
|
||||
%.lst: %.elf
|
||||
$(OBJDUMP) -h -S $< > $@
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue