bootmii-autoloader/arm/Makefile

12 lines
246 B
Makefile
Raw Permalink Normal View History

2020-02-14 06:56:26 +01:00
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