diff options
Diffstat (limited to 'contrib/loaders/checksum/Makefile')
-rw-r--r-- | contrib/loaders/checksum/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/contrib/loaders/checksum/Makefile b/contrib/loaders/checksum/Makefile index 393c160..34430e2 100644 --- a/contrib/loaders/checksum/Makefile +++ b/contrib/loaders/checksum/Makefile @@ -4,7 +4,16 @@ ARM_CROSS_COMPILE ?= arm-none-eabi- ARM_AS ?= $(ARM_CROSS_COMPILE)as ARM_OBJCOPY ?= $(ARM_CROSS_COMPILE)objcopy -arm: armv7m_crc.inc +arm: armv4_5_crc.inc armv7m_crc.inc + +armv4_5_%.elf: armv4_5_%.s + $(ARM_AS) $< -o $@ + +armv4_5_%.bin: armv4_5_%.elf + $(ARM_OBJCOPY) -Obinary $< $@ + +armv4_5_%.inc: armv4_5_%.bin + $(BIN2C) < $< > $@ armv7m_%.elf: armv7m_%.s $(ARM_AS) $< -o $@ |