From: Antonello Dettori <dev@dettori.io>
To: grub-devel@gnu.org
Subject: [PATCH] coreboot: fix "make default_payload.elf"
Date: Fri, 26 Feb 2016 00:46:37 +0000 [thread overview]
Message-ID: <56CFA06D.6050808@dettori.io> (raw)
[-- Attachment #1: Type: text/plain, Size: 1374 bytes --]
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 <http://pastebin.com/vwjycq82>)
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 <dev@dettori.io>
---
Makefile.am | 1 -
1 file changed, 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 288e621..82154d8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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
endif
[-- Attachment #2: Type: text/html, Size: 1857 bytes --]
next reply other threads:[~2016-02-26 0:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-26 0:46 Antonello Dettori [this message]
2016-02-26 10:59 ` [PATCH] coreboot: fix "make default_payload.elf" Vladimir 'phcoder' Serbinenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56CFA06D.6050808@dettori.io \
--to=dev@dettori.io \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).