How to download go packages during make download

In China, the international Internet is not always easy to use. While compiling openwrt, I generally download all packages with make download. However, while building Go-related packages, such as tailscale and frp, there are still building failures caused by bad networks.

Is there a way to download go packages while invoking make download? It can make me find problems earlier.

Thanks.

why don't you use a Linode or Digital Ocean VPS to build an OpenWRT package if you think the network there is bad

Hi there,

The compilation job would take a very long time. In my own server with dual EPYC 7763, it will take 20+ minutes. I don't want this process to be interrupted by a network mistake. So, I will generally invoke make download to pull all the resources I need. Then, I can enjoy a cup of coffee after I begin making it.

I know that go packages will now be downloaded while make download. It increases the uncertainty of my compilation job. That is not what I want.