[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] coreboot: fix "make default_payload.elf"

From: Antonello Dettori
Subject: [PATCH] coreboot: fix "make default_payload.elf"
Date: Fri, 26 Feb 2016 00:46:37 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

When building grub as a payload for coreboot the compiling stops at this line:
"rm: cannot remove 'default_payload.elf': No such file or directory" (Full log)
It seems like it's trying to delete default_payload.elf before it is even created without any apparent reason or explanation.

Tested, "make default_payload.elf" now works and the final executable works as expected.

Signed-off-by: Antonello Dettori <address@hidden>

--- | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ b/
index 288e621..82154d8 100644
--- a/
+++ b/
@@ -410,7 +410,6 @@ bootcheck: $(BOOTCHECKS)
 if COND_i386_coreboot
 default_payload.elf: grub-mkstandalone grub-mkimage FORCE
-    rm $@
     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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]