summaryrefslogtreecommitdiff
path: root/firmware/Makefile
diff options
context:
space:
mode:
authorlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-09-25 21:23:52 +0000
committerlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-09-25 21:23:52 +0000
commit5872753e2dbdca5b252470c5210cdf54ee1788dd (patch)
tree4ef919205c8cf5a1864a9fe24a3a6783cb563e2e /firmware/Makefile
parent6b13ecdab08a28deadb4e947cbab740d02352617 (diff)
- 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
Diffstat (limited to 'firmware/Makefile')
-rw-r--r--firmware/Makefile8
1 files changed, 7 insertions, 1 deletions
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/*)
personal git repositories of Harald Welte. Your mileage may vary