Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Compile packages from sources
Make sure that there are at least 7 GB of free disk space. You need approx. 32 GB of free space to compile the whole repository.
git clone https://github.com/Entware-ng/Entware-ng.git cd Entware-ng
Update package feeds
Pick up one of supported platform
...by copying buildroot config file from
configs folder. Example below uses MIPS platform config:
cp configs/mipselsf.config .config
Please refer to OpenWrt buildroot documentation for more details.
You can build one package (squid in example) with all its dependencies by:
If something goes wrong, turn on verbose mode by adding
make package/tmux/compile V=s
You can speed up compilation on multiprocessor systems by running several build threads simultaneously by adding
make -j4 package/compile
You can run make in several steps
make tools/install make toolchain/install make target/compile make package/compile
This can also be used in case you don't need to build all packages. Replace the last command with the command to build the package you need.
Error in tools or toolchain
In case there is an error in the tools/install or toolchain/install phase, and you change your configuration, remember to run a
make dirclean instead of
make clean. To clean only one specific part you can run a
make toolchain/uClibc/headers/clean for example.