Message ID | 20191231183216.6781-9-philmd@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | hw: Fix various --without-default-devices issues | expand |
On Tue, Dec 31, 2019 at 07:32:10PM +0100, Philippe Mathieu-Daudé wrote: > When configured with --without-default-devices, the build fails: > > LINK ppc-softmmu/qemu-system-ppc > /usr/bin/ld: hw/ppc/virtex_ml507.o: in function `ppc440_init_xilinx': > hw/ppc/virtex_ml507.c:112: undefined reference to `ppcuic_init' > collect2: error: ld returned 1 exit status > make[1]: *** [Makefile:206: qemu-system-ppc] Error 1 > make: *** [Makefile:483: ppc-softmmu/all] Error 2 > > Fix by selecting the PPC4XX config. > > Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: David Gibson <david@gibson.dropbear.id.au> > --- > hw/ppc/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig > index 004b7d5ad5..d8482a5e99 100644 > --- a/hw/ppc/Kconfig > +++ b/hw/ppc/Kconfig > @@ -110,6 +110,7 @@ config E500 > > config VIRTEX > bool > + select PPC4XX > select PFLASH_CFI01 > select SERIAL > select XILINX
diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig index 004b7d5ad5..d8482a5e99 100644 --- a/hw/ppc/Kconfig +++ b/hw/ppc/Kconfig @@ -110,6 +110,7 @@ config E500 config VIRTEX bool + select PPC4XX select PFLASH_CFI01 select SERIAL select XILINX
When configured with --without-default-devices, the build fails: LINK ppc-softmmu/qemu-system-ppc /usr/bin/ld: hw/ppc/virtex_ml507.o: in function `ppc440_init_xilinx': hw/ppc/virtex_ml507.c:112: undefined reference to `ppcuic_init' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:206: qemu-system-ppc] Error 1 make: *** [Makefile:483: ppc-softmmu/all] Error 2 Fix by selecting the PPC4XX config. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> --- hw/ppc/Kconfig | 1 + 1 file changed, 1 insertion(+)