Re: [Xen-devel] [PATCH 5/7] xen: Don't build libelf for Arm

2018-07-02 Thread Julien Grall
Hi Jan, On 06/06/2018 10:06 AM, Jan Beulich wrote: On 05.06.18 at 19:12, wrote: --- a/xen/common/Kconfig +++ b/xen/common/Kconfig @@ -17,6 +17,9 @@ config HAS_ALTERNATIVE config HAS_DEVICE_TREE bool +config HAS_ELF +bool + HAS_LIBELF (or NEEDS_LIBELF) would seem better to

Re: [Xen-devel] [PATCH 5/7] xen: Don't build libelf for Arm

2018-06-12 Thread Stefano Stabellini
On Tue, 5 Jun 2018, Julien Grall wrote: > Now that ELF support has been dropped to boot Dom0, no-one is using > libelf within the hypervisor. > > Introduce a config option to select libelf on x86 and keep unselected > for Arm. > > Signed-off-by: Julien Grall Reviewed-by: Stefano Stabellini

Re: [Xen-devel] [PATCH 5/7] xen: Don't build libelf for Arm

2018-06-06 Thread Jan Beulich
>>> On 05.06.18 at 19:12, wrote: > --- a/xen/common/Kconfig > +++ b/xen/common/Kconfig > @@ -17,6 +17,9 @@ config HAS_ALTERNATIVE > config HAS_DEVICE_TREE > bool > > +config HAS_ELF > +bool > + HAS_LIBELF (or NEEDS_LIBELF) would seem better to me. Also please not the difference in

[Xen-devel] [PATCH 5/7] xen: Don't build libelf for Arm

2018-06-05 Thread Julien Grall
Now that ELF support has been dropped to boot Dom0, no-one is using libelf within the hypervisor. Introduce a config option to select libelf on x86 and keep unselected for Arm. Signed-off-by: Julien Grall --- xen/arch/x86/Kconfig | 1 + xen/common/Kconfig | 3 +++ xen/common/Makefile | 2 +-