diff options
author | laforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-09-25 21:36:42 +0000 |
---|---|---|
committer | laforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-09-25 21:36:42 +0000 |
commit | 89c40594e76db780d1b72795901a8e8754810a62 (patch) | |
tree | f75507698f8e39f50e46c00d27543d11c845004a /firmware/Makefile | |
parent | 5872753e2dbdca5b252470c5210cdf54ee1788dd (diff) |
- fix minor issues with USB string support
git-svn-id: https://svn.openpcd.org:2342/trunk@228 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'firmware/Makefile')
-rw-r--r-- | firmware/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/Makefile b/firmware/Makefile index 6dabd9a..f94800b 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -69,6 +69,8 @@ PATH_TO_LINKSCRIPTS=link/ # Target file name (without extension). TARGET:=main_reqa +USBSTRINGS=src/picc/usb_strings_app.h src/pcd/usb_strings_app.h + # List C source files here. (C dependencies are automatically generated.) # use file-extension c for "c-only"-files SRC = @@ -494,7 +496,7 @@ $(COBJ) : %.o : %.c $(CC) -c $(ALL_CFLAGS) $(CONLYFLAGS) $< -o $@ # Compile: create object files from C source files. ARM-only -$(COBJARM) : %.o : %.c include/compile.h +$(COBJARM) : %.o : %.c include/compile.h $(USBSTRINGS) @echo @echo $(MSG_COMPILING_ARM) $< $(CC) -c $(ALL_CFLAGS) $(CONLYFLAGS) $< -o $@ @@ -572,7 +574,7 @@ clean_list : include/compile.h: scripts/mkcompile_h > $@ -src/picc/usb_strings_app.h: ./scripts/usbstring src/picc/usb_strings_app.txt +$(USBSTRINGS): %.h : %.txt ./scripts/usbstring cat $< | ./scripts/usbstring > $@ # Include the dependency files. |