bootmii-autoloader/arm/Makefile
2020-02-13 23:56:26 -06:00

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