projects
/
fw
/
openocd
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
target/xtensa: fix final clang analyzer warning
[fw/openocd]
/
contrib
/
loaders
/
flash
/
max32xxx
/
Makefile
1
# SPDX-License-Identifier: GPL-2.0-or-later
2
3
BIN2C = ../../../../src/helper/bin2char.sh
4
5
CROSS_COMPILE ?= arm-none-eabi-
6
AS = $(CROSS_COMPILE)as
7
OBJCOPY = $(CROSS_COMPILE)objcopy
8
9
all: max32xxx.inc
10
11
%.elf: %.s
12
$(AS) $< -o $@
13
14
%.bin: %.elf
15
$(OBJCOPY) -Obinary $< $@
16
17
%.inc: %.bin
18
$(BIN2C) < $< > $@
19
20
clean:
21
-rm -f *.elf *.bin *.inc