From 5e7e81535fea702b9194795525453ac0b801ce94 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Wed, 23 Nov 2016 21:16:22 +0000 Subject: Got rid of silly xxd mess --- Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 64ab87d..b4393dd 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,6 @@ TARGET_ARCH = -mcpu=$(CPU) -mthumb AS = arm-none-eabi-as CC = arm-none-eabi-gcc OBJCOPY = arm-none-eabi-objcopy -XXD = xxd HKTOOL = hktool $(MCU) @@ -21,10 +20,6 @@ OBJ := crt0.o vectors.o flashconf.o setup.o fmk.o lib/string.o lib/le.o usb/usb. %.bin: % $(OBJCOPY) -O binary $< $@ -%.xxo: %.xxd - awk '{print $$1}' $< | $(XXD) -r -p -c1 >$@ -%.xxh: %.xxo - $(XXD) -i $< | sed -e 's/_xxo//' >$@ all: fmk.bin fmk: $(OBJ) @@ -34,9 +29,8 @@ flash: fmk.bin hktool -r clean: - $(RM) $(OBJ) $(OBJ:.o=.d) $(wildcard usb/*.xxh) fmk fmk.bin + $(RM) $(OBJ) $(OBJ:.o=.d) fmk fmk.bin -include $(OBJ:.o=.d) -usb/endpt0.o: usb/ds_dev.xxh usb/ds_conf.xxh usb/ds_lang.xxh usb/ds_str1.xxh .PHONY: all flash clean -- cgit v1.2.3-54-g00ecf