From: Andrei Borzenkov <arvidjaar@gmail.com>
To: Chris Murphy <lists@colorremedies.com>
Cc: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: building grub2 on a Mac, possible bug
Date: Mon, 27 Oct 2014 06:24:19 +0300 [thread overview]
Message-ID: <20141027062419.26221a73@opensuse.site> (raw)
In-Reply-To: <F68DA301-E98C-48C7-BA53-4FB56B1801B2@colorremedies.com>
В Sun, 26 Oct 2014 21:00:18 -0600
Chris Murphy <lists@colorremedies.com> пишет:
> This is on a macbookpro9,2, running Fedora 20, and I've git cloned from git://git.savannah.gnu.org/grub.git and I'm in master branch.
>
> $ ./configure
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking target system type… x86_64-unknown-linux-gnu
>
This is normal; I get the same on openSUSE and IIRC it had always been
the case.
> The unknown seems suspicious. And at the end I see "GRUB2 will be compiled with following components:
> Platform: i386-pc" which is also wrong.
>
Well ... short of checking for /sys/firmware/efi, how can we know we
may need efi build?
> If I use --with-platform=efi, then at the end I get "GRUB2 will be compiled with following components:
> Platform: x86_64-efi" which is correct.
>
> In the configure file I see this:
> # Guess the platform if not specified.
> if test "x$with_platform" = x; then
> case "$target_cpu"-"$target_vendor" in
> i386-apple) platform=efi ;;
> i386-*) platform=pc ;;
> x86_64-apple) platform=efi ;;
>
> I guess $target_vendor isn't getting set to apple and therefore platform doesn't get set to efi.
You are running Linux, not OS X here, so $target_vendore cannot be
apple. It refers to OS vendor, not underlying hardware vendor.
>
>
> Chris Murphy
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
next prev parent reply other threads:[~2014-10-27 3:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-27 3:00 building grub2 on a Mac, possible bug Chris Murphy
2014-10-27 3:24 ` Andrei Borzenkov [this message]
2014-10-27 17:46 ` Mike Gilbert
2014-10-27 18:35 ` Chris Murphy
2014-11-28 19:28 ` Vladimir 'φ-coder/phcoder' Serbinenko
2014-11-29 5:30 ` Andrei Borzenkov
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=20141027062419.26221a73@opensuse.site \
--to=arvidjaar@gmail.com \
--cc=grub-devel@gnu.org \
--cc=lists@colorremedies.com \
/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).