From c7e82b4a47968ddcabd71dfdb160cb48694b8721 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Fri, 13 Oct 2017 18:13:26 +0300 Subject: [PATCH] Use hexdump instead of xxd (more portable) --- libretro/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro/Makefile b/libretro/Makefile index 88f87c3..8fe1a42 100644 --- a/libretro/Makefile +++ b/libretro/Makefile @@ -138,7 +138,7 @@ all: $(TARGET) $(CORE_DIR)/libretro/%_boot.c: $(CORE_DIR)/build/bin/BootROMs/%_boot.bin echo "/* AUTO-GENERATED */" > $@ echo "const unsigned char $(notdir $(@:%.c=%))[] = {" >> $@ - cat $< | xxd -i >> $@ + hexdump -v -e '/1 "0x%02x, "' $< >> $@ echo "};" >> $@ echo "const unsigned $(notdir $(@:%.c=%))_length = sizeof($(notdir $(@:%.c=%)));" >> $@