mirror of
https://github.com/DualTachyon/uv-k5-firmware.git
synced 2025-02-17 17:50:43 +08:00
Moved arm-size to a macro.
This commit is contained in:
parent
c013f1a7c7
commit
63db1215bc
3
Makefile
3
Makefile
@ -50,6 +50,7 @@ AS = arm-none-eabi-as
|
||||
CC = arm-none-eabi-gcc
|
||||
LD = arm-none-eabi-gcc
|
||||
OBJCOPY = arm-none-eabi-objcopy
|
||||
SIZE = arm-none-eabi-size
|
||||
|
||||
ASFLAGS = -mcpu=cortex-m0
|
||||
CFLAGS = -O2 -Wall -Werror -mcpu=cortex-m0 -fno-builtin -MMD
|
||||
@ -76,7 +77,7 @@ DEPS = $(OBJS:.o=.d)
|
||||
|
||||
all: $(TARGET)
|
||||
$(OBJCOPY) -O binary $< $<.bin
|
||||
arm-none-eabi-size firmware
|
||||
$(SIZE) $<
|
||||
|
||||
$(OVERLAY).bin: $(OVERLAY)
|
||||
$(OBJCOPY) -O binary $< $@
|
||||
|
Loading…
Reference in New Issue
Block a user