Build OpenWrt images and packages using a preconfigured buildroot inside Docker containers.
This repository is used to build an OpenWrt buildroot in stages, first building the reusable toolchain for a specific hardware platform, then building the final OpenWrt firmware images and Unum installation packages for a specific device.
For example, use the minimsecure/openwrt-builder:ar71xx Docker image
to build an OpenWrt firmware image for GL.iNet AR300M:
# Build
docker run --name=openwrt-ar71xx -it \
minimsecure/openwrt-builder:ar71xx \
make gl_ar300m
# Copy the newly built OpenWrt firmware images and Unum .ipk onto the host
docker cp openwrt-ar71xx:/builder/build/out/* . - TP-LINK Archer C7 v2
- TP-LINK Archer C7 v4
- GL.iNet AR-300M
docker run minimsecure/openwrt-builder:ar71xx- GL.iNet GL-B1300
docker run minimsecure/openwrt-builder:ipq40xx- Linksys WRT1900ACS
docker run minimsecure/openwrt-builder:mvebu-cortexa9Three files must exist for each device supported, all inside the platforms/
directory.
In the list below, replace <chipset> with the chipset name and
<device> with a short name (no spaces) representing your device.
For example, ar71xx and archer_c7_v4 as chipset and device, respectively.
<chipset>.config.seedcontains the default build configuration for a target chipset without any specific devices enabled.<device>.baseconfigmust be a symlink to the appropriate<chipset>.config.seedfile.<device>.diffconfigshould contain any changes needed for a specific device. Usually this requires only selecting the device and setting the product name.