From 5872753e2dbdca5b252470c5210cdf54ee1788dd Mon Sep 17 00:00:00 2001 From: laforge Date: Mon, 25 Sep 2006 21:23:52 +0000 Subject: - Include tool for Converting ASCII to UTF-16LE in C-Header - Build UTF-16LE USB String descriptors from ASCII File - Introduce USB String Descriptor to DFU and runtime firmware git-svn-id: https://svn.openpcd.org:2342/trunk@227 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- firmware/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'firmware/Makefile') diff --git a/firmware/Makefile b/firmware/Makefile index bc7bd8a..6dabd9a 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -190,14 +190,16 @@ endif ifeq ($(BOARD),PICC) CDEFS += -DPICC +CINCS = -Isrc/picc endif ifeq ($(BOARD),PCD) CDEFS += -DPCD +CINCS = -Isrc/pcd endif # Place -I options here -CINCS = -Iinclude -Isrc +CINCS += -Iinclude -Isrc # Place -D or -U options for ASM here ADEFS = -D$(RUN_MODE) @@ -564,11 +566,15 @@ clean_list : $(REMOVE) $(CPPSRCARM:.cpp=.d) $(REMOVE) .dep/* $(REMOVE) include/compile.h + $(REMOVE) src/picc/usb_strings_app.h .PHONY: include/compile.h include/compile.h: scripts/mkcompile_h > $@ +src/picc/usb_strings_app.h: ./scripts/usbstring src/picc/usb_strings_app.txt + cat $< | ./scripts/usbstring > $@ + # Include the dependency files. -include $(shell mkdir .dep 2>/dev/null) $(wildcard .dep/*) -- cgit v1.2.3