1
0
Fork 0
forked from len0rd/rockbox

check the size of the .bin file, not the .ucl file

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5047 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2004-09-06 09:16:06 +00:00
parent 5a8b99fd6b
commit f1847ee783

View file

@ -167,7 +167,7 @@ $(OBJDIR)/rombox.ucl: $(OBJDIR)/rombox.bin $(MAXOUTFILE)
echo "UCLPACK rombox" ; \
uclpack --none $< $@ >/dev/null 2>&1; \
if test -s $@; then \
perl $(TOOLSDIR)/romsizetest.pl `cat $(MAXOUTFILE)` $@; \
perl $(TOOLSDIR)/romsizetest.pl `cat $(MAXOUTFILE)` $<; \
if test $$? -ne 0; then \
echo "removing UCL file again, making it a fake one"; \
echo "fake" > $@; \