Use cvs uclpack for bootbox.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9009 a1c6a512-1295-4272-9138-f99709370657
diff --git a/flash/bootbox/Makefile b/flash/bootbox/Makefile
index 3355238..7a58749 100644
--- a/flash/bootbox/Makefile
+++ b/flash/bootbox/Makefile
@@ -67,14 +67,8 @@
 	@$(MKFIRMWARE) $< $@
 
 $(FLASHFILE): $(OBJDIR)/bootbox.bin
-	@a=`uclpack -h 2>/dev/null`; \
-	if test -n "$$a"; then \
-	  echo "UCLPACK bootbox" ; \
-	  uclpack --best --2e $< $@ >/dev/null 2>&1; \
-	else \
-	  echo "no uclpack command found, makes a fake bootbox.ucl"; \
-	  echo "fake" > $@; \
-	fi
+	$(SILENT)(echo "UCLPACK bootbox" ; \
+	$(TOOLSDIR)/uclpack --best --2e $< $@ >/dev/null 2>&1;)
 
 include $(TOOLSDIR)/make.inc