[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 4/5] hw/ppc/fdt: Drop dependency on libfdt
From: |
David Gibson |
Subject: |
Re: [RFC PATCH 4/5] hw/ppc/fdt: Drop dependency on libfdt |
Date: |
Wed, 12 May 2021 12:30:55 +1000 |
On Tue, May 11, 2021 at 05:53:53PM +0200, Philippe Mathieu-Daudé wrote:
> hw/ppc/fdt.c defines the ppc_create_page_sizes_prop() function,
> which is unrelated to the libfdt. Remove the incorrect library
> dependency on the file.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
This is definitely wrong as it stands. AFAICT this doesn't add a
build of hw/ppc/fdt.c anywhere, but it is definitely needed by both
pseries and powernv machine types, who select FDT_PPC for this exact
reason.
I will grant you that it is badly named. It is in fact related to
libfdt, just rather indirectly.
> ---
> hw/ppc/meson.build | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/hw/ppc/meson.build b/hw/ppc/meson.build
> index e82a6b4105b..580e6e42c8a 100644
> --- a/hw/ppc/meson.build
> +++ b/hw/ppc/meson.build
> @@ -3,9 +3,9 @@
> 'ppc.c',
> 'ppc_booke.c',
> ))
> -ppc_ss.add(when: 'CONFIG_FDT_PPC', if_true: [files(
> +ppc_ss.add(when: 'CONFIG_FDT_PPC', if_true: files(
> 'fdt.c',
> -), fdt])
> +))
> ppc_ss.add(when: 'CONFIG_FW_CFG_PPC', if_true: files('fw_cfg.c'))
>
> # IBM pSeries (sPAPR)
--
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
signature.asc
Description: PGP signature
- Re: [RFC PATCH 1/5] hw/mem/nvdimm: Use Kconfig 'imply' instead of 'depends on', (continued)
- [RFC PATCH 4/5] hw/ppc/fdt: Drop dependency on libfdt, Philippe Mathieu-Daudé, 2021/05/11
- Re: [RFC PATCH 4/5] hw/ppc/fdt: Drop dependency on libfdt,
David Gibson <=
- Re: [RFC PATCH 4/5] hw/ppc/fdt: Drop dependency on libfdt, Paolo Bonzini, 2021/05/12
- Re: [RFC PATCH 4/5] hw/ppc/fdt: Drop dependency on libfdt, David Gibson, 2021/05/13
- Re: [RFC PATCH 4/5] hw/ppc/fdt: Drop dependency on libfdt, Paolo Bonzini, 2021/05/13
- Re: [RFC PATCH 4/5] hw/ppc/fdt: Drop dependency on libfdt, David Gibson, 2021/05/13
- Re: [RFC PATCH 4/5] hw/ppc/fdt: Drop dependency on libfdt, Paolo Bonzini, 2021/05/14
- Re: [RFC PATCH 4/5] hw/ppc/fdt: Drop dependency on libfdt, Philippe Mathieu-Daudé, 2021/05/14
[RFC PATCH 5/5] meson: Do not use internal fdt library if user asked for the system one, Philippe Mathieu-Daudé, 2021/05/11
Re: [RFC PATCH 0/5] buildsys: Do not use internal fdt library when asked for the system one, Philippe Mathieu-Daudé, 2021/05/11