* Make bootable doesn't complain when a boot-$arch script is missing if IGNORE_MISSING_BOOT_SCRIPT is set.

This commit is contained in:
Raphaël Hertzog 2002-10-13 20:08:06 +00:00
parent 6c065e9b9e
commit eb8fa69045
1 changed files with 5 additions and 3 deletions

View File

@ -550,12 +550,14 @@ $(BDIR)/bootable-stamp:
n=$${dir##$(BDIR)/}; \
dir=$(BDIR)/CD$$n; \
if [ -f $(BASEDIR)/tools/boot/$(CODENAME)/boot-$(ARCH) ]; then \
cd $(BDIR); \
echo "Running tools/boot/$(CODENAME)/boot-$(ARCH) $$n $$dir" ; \
$(BASEDIR)/tools/boot/$(CODENAME)/boot-$(ARCH) $$n $$dir; \
cd $(BDIR); \
echo "Running tools/boot/$(CODENAME)/boot-$(ARCH) $$n $$dir" ; \
$(BASEDIR)/tools/boot/$(CODENAME)/boot-$(ARCH) $$n $$dir; \
else \
if [ "$${IGNORE_MISSING_BOOT_SCRIPT:-0}" = "0" ]; then \
echo "No script to make CDs bootable for $(ARCH) ..."; \
exit 1; \
fi; \
fi; \
done
$(Q)touch $(BDIR)/bootable-stamp