summaryrefslogtreecommitdiffstats
path: root/pc-bios
diff options
context:
space:
mode:
authorPaolo Bonzini2022-05-27 17:35:55 +0200
committerAlex Bennée2022-06-01 16:47:43 +0200
commit33ab4787422b04a3f4c94bbded6b05021d08b27d (patch)
treec02ec7a90235588817aeeb9a6fbf186f50b60ed1 /pc-bios
parentconfigure: enable cross-compilation of s390-ccw (diff)
downloadqemu-33ab4787422b04a3f4c94bbded6b05021d08b27d.tar.gz
qemu-33ab4787422b04a3f4c94bbded6b05021d08b27d.tar.xz
qemu-33ab4787422b04a3f4c94bbded6b05021d08b27d.zip
configure: enable cross-compilation of optionrom
While container-based cross compilers are not supported, this already makes it possible to build x86 optionroms on any machine that has an installation of GCC and binutils for 32- or 64-bit x86. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20220517092616.1272238-15-pbonzini@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20220527153603.887929-26-alex.bennee@linaro.org>
Diffstat (limited to 'pc-bios')
-rw-r--r--pc-bios/optionrom/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/pc-bios/optionrom/Makefile b/pc-bios/optionrom/Makefile
index 17ccc76241..f639915b4f 100644
--- a/pc-bios/optionrom/Makefile
+++ b/pc-bios/optionrom/Makefile
@@ -6,7 +6,6 @@ all: multiboot.bin multiboot_dma.bin linuxboot.bin linuxboot_dma.bin kvmvapic.bi
# Dummy command so that make thinks it has done something
@true
-include ../../config-host.mak
CFLAGS = -O2 -g
quiet-command = $(if $(V),$1,$(if $(2),@printf " %-7s %s\n" $2 $3 && $1, @$1))
@@ -44,7 +43,6 @@ Wa = -Wa,
override ASFLAGS += -32
override CFLAGS += $(call cc-option, $(Wa)-32)
-LD_I386_EMULATION ?= elf_i386
override LDFLAGS = -m $(LD_I386_EMULATION) -T $(SRC_DIR)/flat.lds
pvh.img: pvh.o pvh_main.o