From: Vladimir Serbinenko Date: Fri, 26 Feb 2016 10:12:35 +0000 (+0100) Subject: Makefile: Don't delete default_payload.elf if it doesn't exist. X-Git-Tag: 2.02-beta3~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5486a4e12b7ad18f06156bb042a350a39d355c22;p=thirdparty%2Fgrub.git Makefile: Don't delete default_payload.elf if it doesn't exist. --- diff --git a/Makefile.am b/Makefile.am index 288e621d3..00a9663b3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -410,7 +410,7 @@ bootcheck: $(BOOTCHECKS) if COND_i386_coreboot default_payload.elf: grub-mkstandalone grub-mkimage FORCE - rm $@ + test -f $@ && rm $@ || true pkgdatadir=. ./grub-mkstandalone --grub-mkimage=./grub-mkimage -O i386-coreboot -o $@ --modules='ahci pata ehci uhci ohci usb_keyboard usbms part_msdos ext2 fat at_keyboard part_gpt usbserial_usbdebug cbfs' --install-modules='ls linux search configfile normal cbtime cbls memrw iorw minicmd lsmmap lspci halt reboot hexdump pcidump regexp setpci lsacpi chain test serial multiboot cbmemc linux16 gzio echo help syslinuxcfg xnu $(shell cat grub-core/fs.lst) password_pbkdf2 $(EXTRA_PAYLOAD_MODULES)' --fonts= --themes= --locales= -d grub-core/ /boot/grub/grub.cfg=$(srcdir)/coreboot.cfg endif