Use host's golang compiler for bootstrap

Hi.

I get this error from golang-bootstrap:

Makefile:336: *** go-bootstrap cannot be installed on linux/arm64. Stop.

Can I set up OpenWrt to use host’s compiler instead of golang-bootstrap? How?

Thanks.

You can set:

CONFIG_GOLANG_EXTERNAL_BOOTSTRAP_ROOT="/usr/lib/path_to_go_here"
CONFIG_GOLANG_BUILD_BOOTSTRAP=n

Path is something like /usr/lib/golang depending on your system. You can do the changes via make menuconfig.

Works, thank you!