Patchwork [qemu-kvm] mips: Fix link error with 'piix4_pm_init'

login
register
mail settings
Submitter Cole Robinson
Date Sept. 26, 2012, 11:57 a.m.
Message ID <e8a96134543b15b5ef34ae893c07c31604faf63b.1348660356.git.crobinso@redhat.com>
Download mbox | patch
Permalink /patch/187046/
State New
Headers show

Comments

Cole Robinson - Sept. 26, 2012, 11:57 a.m.
LINK  mipsel-softmmu/qemu-system-mipsel
  hw/mips/../mips_malta.o: In function `mips_malta_init':
  mips_malta.c:962: undefined reference to `piix4_pm_init'

Can reproduce with:

./configure --target-list=mipsel-softmmu --disable-werror
make

However only on qemu-kvm, not qemu.git or qemu 1.2.0. We are
carrying this in Fedora since we build everything from qemu-kvm.git

Signed-off-by: Cole Robinson <crobinso@redhat.com>
---
 hw/mips/Makefile.objs | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/hw/mips/Makefile.objs b/hw/mips/Makefile.objs
index 29a5d0d..89af0e9 100644
--- a/hw/mips/Makefile.objs
+++ b/hw/mips/Makefile.objs
@@ -1,6 +1,7 @@ 
 obj-y = mips_r4k.o mips_jazz.o mips_malta.o mips_mipssim.o
 obj-y += mips_addr.o mips_timer.o mips_int.o
 obj-y += gt64xxx.o mc146818rtc.o
+obj-y += acpi.o acpi_piix4.o
 obj-$(CONFIG_FULONG) += bonito.o vt82c686.o mips_fulong2e.o
 
 obj-y := $(addprefix ../,$(obj-y))