[Buildroot] [PATCH 2/3] gnu-efi: add host variant

Peter Korsgaard peter at korsgaard.com
Tue Jul 17 21:29:45 UTC 2018


>>>>> "Celso" == Celso Varella <celso.neto.cwi at datacom.com.br> writes:

 > It will be required by host-sbsigntools (forthcoming package).
 > Signed-off-by: Carlos Santos <casantos at datacom.com.br>
 > ---
 >  package/gnu-efi/gnu-efi.mk | 20 ++++++++++++++++++++
 >  1 file changed, 20 insertions(+)

 > diff --git a/package/gnu-efi/gnu-efi.mk b/package/gnu-efi/gnu-efi.mk
 > index d55e027..b106010 100644
 > --- a/package/gnu-efi/gnu-efi.mk
 > +++ b/package/gnu-efi/gnu-efi.mk
 > @@ -26,6 +26,12 @@ else ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y)
 >  GNU_EFI_PLATFORM = aarch64
 >  endif
 
 > +ifeq ($(HOSTARCH),x86)
 > +HOST_GNU_EFI_PLATFORM = ia32
 > +else
 > +HOST_GNU_EFI_PLATFORM = $(HOSTARCH)
 > +endif

While host-gnu-efi shouldn't be a user visible config option, it would
still be nice to add a Config.in.host with hidden
BR2_PACKAGE_HOST_GNU_EFI_ARCH_SUPPORTS option depending on the supported
host architectures, so E.G. host-sbsigntools can depend on it.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list