diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-07-31 21:59:06 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-07-31 21:59:06 +0000 |
commit | a4aaa071767268a72b77eab1a61f0ae7fff0b85d (patch) | |
tree | be406b3d7ac72cbe30b6388aefc756bd9865bbe1 /apps | |
parent | ef523debc94f5674179282363b5686650f0c860a (diff) | |
download | rockbox-a4aaa071767268a72b77eab1a61f0ae7fff0b85d.tar.gz rockbox-a4aaa071767268a72b77eab1a61f0ae7fff0b85d.zip |
If uclpack is not there, produce a faked one to avoid getting that message
more often than we need.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3906 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/Makefile b/apps/Makefile index 6c0efd575a..e9667bb6aa 100644 --- a/apps/Makefile +++ b/apps/Makefile | |||
@@ -99,12 +99,13 @@ $(OBJDIR)/$(OUTNAME) : $(OBJDIR)/rockbox.bin | |||
99 | $(TOOLSDIR)/scramble $(SCRAMBLE_OPT) $(OBJDIR)/rockbox.bin $(OBJDIR)/$(OUTNAME) | 99 | $(TOOLSDIR)/scramble $(SCRAMBLE_OPT) $(OBJDIR)/rockbox.bin $(OBJDIR)/$(OUTNAME) |
100 | 100 | ||
101 | $(OBJDIR)/rockbox.ucl: $(OBJDIR)/rockbox.bin | 101 | $(OBJDIR)/rockbox.ucl: $(OBJDIR)/rockbox.bin |
102 | @a=`uclpack -h 2>/dev/null`; \ | 102 | @a=`2uclpack -h 2>/dev/null`; \ |
103 | if test -n "$$a"; then \ | 103 | if test -n "$$a"; then \ |
104 | echo "runs uclpack"; \ | 104 | echo "runs uclpack"; \ |
105 | uclpack --best --2e $(OBJDIR)/rockbox.bin $(OBJDIR)/rockbox.ucl >/dev/null 2>&1; \ | 105 | uclpack --best --2e $(OBJDIR)/rockbox.bin $(OBJDIR)/rockbox.ucl >/dev/null 2>&1; \ |
106 | else \ | 106 | else \ |
107 | echo "no uclpack command found, not making any UCL file"; \ | 107 | echo "no uclpack command found, makes a fake UCL file"; \ |
108 | echo "fake" > $@; \ | ||
108 | fi | 109 | fi |
109 | 110 | ||
110 | $(OBJDIR)/credits.raw: $(DOCSDIR)/CREDITS | 111 | $(OBJDIR)/credits.raw: $(DOCSDIR)/CREDITS |