1
0
Fork 0
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:
Daniel Stenberg 2003-07-31 21:59:06 +00:00
parent ef523debc9
commit a4aaa07176

View file

@ -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