From 69e8e27ffa6c1124ac91f55afe6d9a17d815a8b3 Mon Sep 17 00:00:00 2001 From: Joshua Wise Date: Sun, 25 Jan 2009 07:13:42 -0500 Subject: [PATCH 1/1] tests/Makefile: Add a target to pad binaries for Xilinx tools. --- tests/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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/' > $@ -- 2.39.2