grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* building grub2 on a Mac, possible bug
@ 2014-10-27  3:00 Chris Murphy
  2014-10-27  3:24 ` Andrei Borzenkov
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Murphy @ 2014-10-27  3:00 UTC (permalink / raw)
  To: The development of GNU GRUB

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

The unknown seems suspicious. And at the end I see "GRUB2 will be compiled with following components:
Platform: i386-pc" which is also wrong. 

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.


Chris Murphy

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-11-29  5:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-27  3:00 building grub2 on a Mac, possible bug Chris Murphy
2014-10-27  3:24 ` Andrei Borzenkov
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

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).