Make build script build Public Domain ISO even if ZealBooter-Limine UEFI BSD-2 ISO fails to build.

This commit is contained in:
TomAwezome 2022-11-03 13:51:38 -04:00
parent c179521dc3
commit e3bee1c738
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ umount_tempdisk() {
set -e set -e
echo "Building ZealBooter..." echo "Building ZealBooter..."
( cd ../zealbooter && make distclean all ) ( cd ../zealbooter && make distclean all || echo "ERROR: ZealBooter build failed !")
set +e set +e
echo "Making temp vdisk, running auto-install ..." echo "Making temp vdisk, running auto-install ..."

View file

@ -83,7 +83,7 @@ override HEADER_DEPS := $(CFILES:.c=.d) $(ASFILES:.S=.d)
all: $(KERNEL) all: $(KERNEL)
limine.h: limine.h:
curl -f https://raw.githubusercontent.com/limine-bootloader/limine/trunk/limine.h -o $@ || cp ../build/limine/limine.h limine.h curl https://raw.githubusercontent.com/limine-bootloader/limine/trunk/limine.h -o $@ || cp ../build/limine/limine.h limine.h || echo "ERROR: limine.h not found! Cannot build ZealBooter. "
# Link rules for the final kernel executable. # Link rules for the final kernel executable.
$(KERNEL): $(OBJ) $(KERNEL): $(OBJ)