Build package for multiple CPU architectures?

Is there a way to do

 make packge/blub/compile ALL_ARCHITECTURES=1

or

 make packge/blub/compile x86, mips_24kc, ...

?

This would also mean that you have the toolchain for all archs compiled.

I would suggest to use the sdk docker images for such porpose.
https://hub.docker.com/r/openwrtorg/sdk

To automate the package build with the docker sdk image, you can use GitHub Actions or GitLab.com CI/CD.
I think GitLab CI/CD is easier to start with, because they use docker images as build environment directly.

1 Like