qemu/pc-bios/optionrom
Peter Maydell e57218b6ed 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 <peter.maydell@linaro.org>
Reviewed-by: Sean Bruno <sbruno@freebsd.org>
Message-id: 1470672688-6754-1-git-send-email-peter.maydell@linaro.org
2016-08-15 17:21:30 +01:00
..
code16gcc.h Add optionrom compatible with fw_cfg DMA version 2016-07-14 15:50:52 +02:00
flat.lds optionrom: fix compilation with mingw docker target 2016-08-09 22:57:36 +02:00
kvmvapic.S kvmvapic: Use optionrom helpers 2012-02-18 12:16:01 +02:00
linuxboot_dma.c linuxboot_dma: avoid guest ABI breakage on gcc vs. clang compilation 2016-08-09 22:57:36 +02:00
linuxboot.S linuxboot: fix loading old kernels 2014-12-15 12:21:03 +01:00
Makefile pc-bios/optionrom: Fix OpenBSD build with better detection of linker emulation 2016-08-15 17:21:30 +01:00
multiboot.S multiboot: Calculate upper_mem in the ROM 2013-06-28 14:01:52 -05:00
optionrom.h fw_cfg: Split fw_cfg_keys.h off fw_cfg.h 2016-03-22 22:20:16 +01:00