On Tue, Dec 31, 2019 at 07:32:09PM +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/sam460ex.o: in function `sam460ex_init':
>   hw/ppc/sam460ex.c:313: undefined reference to `ppc4xx_plb_init'
>   /usr/bin/ld: hw/ppc/sam460ex.c:353: undefined reference to `ppc405_ebc_init'
>   collect2: error: ld returned 1 exit status
>   make[1]: *** [Makefile:206: qemu-system-ppc] Error 1
> 
> Fix by selecting the PPC405 config.
> 
> Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com>

Acked-by: David Gibson <da...@gibson.dropbear.id.au>

> ---
>  hw/ppc/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig
> index 0cd8d4053e..004b7d5ad5 100644
> --- a/hw/ppc/Kconfig
> +++ b/hw/ppc/Kconfig
> @@ -50,6 +50,7 @@ config PPC4XX
>  
>  config SAM460EX
>      bool
> +    select PPC405
>      select PFLASH_CFI01
>      select IDE_SII3112
>      select M41T80

-- 
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

Attachment: signature.asc
Description: PGP signature

Reply via email to