Can openwrt compilation and firmware generation be separated into 2 separate steps?

It seems that the current openwrt compilation and firmware generation are strongly coupled. Is there a way to separate them into 2 separate steps?

When I change only one package, I can recompile the package separately and then manually generate the firmware, which I think makes debugging much faster.

Yes, this is possible by using the target-specific SDK to build your package and the ImageBuilder to generate an OpenWrt image based on binary packages.


it seems that Image Builder need download pre-compiled packages from the Internet .

What should I do if these packages are not downloaded from the Internet, but come from my last local compilation of the openwrt source code?

See Custom Packages and Custom Files

1 Like