qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] e57218: pc-bios/optionrom: Fix OpenBSD build


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] e57218: pc-bios/optionrom: Fix OpenBSD build with better d...
Date: Mon, 15 Aug 2016 10:30:05 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: e57218b6ed9d8e45585eea8fe1dc49068f51a1d2
      
https://github.com/qemu/qemu/commit/e57218b6ed9d8e45585eea8fe1dc49068f51a1d2
  Author: Peter Maydell <address@hidden>
  Date:   2016-08-15 (Mon, 15 Aug 2016)

  Changed paths:
    M configure
    M pc-bios/optionrom/Makefile

  Log Message:
  -----------
  pc-bios/optionrom: Fix OpenBSD build with better detection of linker emulation

The various host OSes are irritatingly variable about the name
of the linker emulation we need to pass to ld's -m option to
build the i386 option ROMs. Instead of doing this via a
CONFIG ifdef, check in configure whether any of the emulation
names we know about will work and pass the right answer through
to the makefile. If we can't find one, we fall back to not trying
to build the option ROMs, in the same way we would for a non-x86
host platform.

This is in particular necessary to unbreak the build on OpenBSD,
since it wants a different answer to FreeBSD and we don't have
an existing CONFIG_ variable that distinguishes the two.

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Sean Bruno <address@hidden>
Message-id: address@hidden



reply via email to

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