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:
parent
5a8b99fd6b
commit
f1847ee783
1 changed files with 1 additions and 1 deletions
|
|
@ -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" > $@; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue