You need the following tools to compile OpenWrt, the package names vary between distributions. A complete list with distribution specific packages is found in the Build System Setup documentation.
gcc binutils bzip2 flex python3 perl make find grep diff unzip gawk getopt
subversion libz-dev libc-dev rsync which
-
Run
./scripts/feeds update -ato obtain all the latest package definitions defined in feeds.conf / feeds.conf.default -
Run
./scripts/feeds install -fand./scripts/feeds install -ato install symlinks for all obtained packages into package/feeds/ -
Copy config file
cp .config-VPE .configorcp .config-SMP .config -
Copy the contents of directory
files-VPEorfiles-SMPto directoryfiles -
Run
make menuconfigto select your preferred configuration for the toolchain, target system & firmware packages. -
Run
maketo build your firmware.
OpenWrt is licensed under GPL-2.0
It based on https://github.com/Plonkbong/openwrt/tree/xrx200-21.02.2