[Buildroot] [PATCH v1 1/1] package/go: use host compiler when go-bootstrap unsupported

Christian Stewart christian at paral.in
Mon Jun 28 18:00:10 UTC 2021


Hi Baruch,

On Mon, Jun 21, 2021 at 8:10 PM Baruch Siach <baruch at tkos.co.il> wrote:
> > +HOST_GO_BOOTSTRAP_ROOT = /usr/lib/go
>
> I think we need a check for host go existence and maybe also version under
> support/dependencies/.
>
> baruch

I had a look at those scripts and am not familiar enough to know the
correct way to only check for host-go existence on the system only if
all of:

 - BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS=y
 - BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS is not set
 - BR2_PACKAGE_HOST_GO=y

If any of these conditions are not met, it's not necessary to have Go
installed on the host system.

Best,
Christian



More information about the buildroot mailing list