forked from len0rd/rockbox
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
This commit is contained in:
parent
ef523debc9
commit
a4aaa07176
1 changed files with 3 additions and 2 deletions
|
@ -99,12 +99,13 @@ $(OBJDIR)/$(OUTNAME) : $(OBJDIR)/rockbox.bin
|
|||
$(TOOLSDIR)/scramble $(SCRAMBLE_OPT) $(OBJDIR)/rockbox.bin $(OBJDIR)/$(OUTNAME)
|
||||
|
||||
$(OBJDIR)/rockbox.ucl: $(OBJDIR)/rockbox.bin
|
||||
@a=`uclpack -h 2>/dev/null`; \
|
||||
@a=`2uclpack -h 2>/dev/null`; \
|
||||
if test -n "$$a"; then \
|
||||
echo "runs uclpack"; \
|
||||
uclpack --best --2e $(OBJDIR)/rockbox.bin $(OBJDIR)/rockbox.ucl >/dev/null 2>&1; \
|
||||
else \
|
||||
echo "no uclpack command found, not making any UCL file"; \
|
||||
echo "no uclpack command found, makes a fake UCL file"; \
|
||||
echo "fake" > $@; \
|
||||
fi
|
||||
|
||||
$(OBJDIR)/credits.raw: $(DOCSDIR)/CREDITS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue