mirror of
https://github.com/Fullmetal5/bootmii-autoloader.git
synced 2024-11-30 06:24:22 +01:00
12 lines
246 B
Makefile
12 lines
246 B
Makefile
PREFIX := arm-none-eabi
|
|
AS := $(PREFIX)-as
|
|
OBJCOPY := $(PREFIX)-objcopy
|
|
|
|
.PHONY: all clean
|
|
all:
|
|
$(AS) -mbig-endian -mcpu=arm926ej-s stub.s -o stub.elf
|
|
$(OBJCOPY) -O binary stub.elf stub.bin
|
|
xxd -i stub.bin ../stub.h
|
|
clean:
|
|
rm -rf *.bin *.elf
|