summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 1 insertions, 7 deletions
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