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
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson