From: Joshua Wise Date: Sun, 25 Jan 2009 12:13:42 +0000 (-0500) Subject: tests/Makefile: Add a target to pad binaries for Xilinx tools. X-Git-Url: http://git.joshuawise.com/firearm.git/commitdiff_plain/69e8e27ffa6c1124ac91f55afe6d9a17d815a8b3?hp=cc1ce5b3e8f2d357106c2d3da355360f99c6c9c3;ds=sidebyside tests/Makefile: Add a target to pad binaries for Xilinx tools. --- diff --git a/tests/Makefile b/tests/Makefile index 0fc42d1..36682af 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -12,5 +12,8 @@ all: costas.hex %.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/' > $@