]> Joshua Wise's Git repositories - firearm.git/blobdiff - tests/Makefile
tests/Makefile: Add a target to pad binaries for Xilinx tools.
[firearm.git] / tests / Makefile
index 0fc42d1a55fd173199d57cd09057d7a0e385d20e..36682afe064ab529f344f1b45965ada141194459 100644 (file)
@@ -12,5 +12,8 @@ all: costas.hex
 %.bin: %.elf
        arm-elf-objcopy $< -O binary $@
 
 %.bin: %.elf
        arm-elf-objcopy $< -O binary $@
 
+%.pad.bin: %.bin
+       dd if=$< of=$@ bs=16384 conv=sync
+
 %.hex: %.bin
        xxd -ps -c 4 $< | sed -e 's/\(..\)\(..\)\(..\)\(..\)/\4\3\2\1/' > $@
 %.hex: %.bin
        xxd -ps -c 4 $< | sed -e 's/\(..\)\(..\)\(..\)\(..\)/\4\3\2\1/' > $@
This page took 0.015943 seconds and 4 git commands to generate.