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 -a
to obtain all the latest package definitions defined in feeds.conf / feeds.conf.default -
Run
./scripts/feeds install -f
and./scripts/feeds install -a
to install symlinks for all obtained packages into package/feeds/ -
Copy config file
cp .config-VPE .config
orcp .config-SMP .config
-
Copy the contents of directory
files-VPE
orfiles-SMP
to directoryfiles
-
Run
make menuconfig
to select your preferred configuration for the toolchain, target system & firmware packages. -
Run
make
to build your firmware.
OpenWrt is licensed under GPL-2.0
It based on https://github.com/Plonkbong/openwrt/tree/xrx200-21.02.2