-
Notifications
You must be signed in to change notification settings - Fork 150
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.
Entware-ng uses OpenWrt Buildroot, please install its dependencies first. Also, there a some package-specific dependencies:
Package | Dependencies |
---|---|
nethack | flex |
git clone https://github.com/Entware-ng/Entware-ng.git
cd Entware-ng
make package/symlinks
...by copying buildroot config file from configs
folder. Example below uses MIPS platform config:
cp configs/mipselsf.config .config
make
Please refer to OpenWrt buildroot documentation for more details.
You can build one package (squid in example) with all its dependencies by:
make package/squid/compile
If something goes wrong, turn on verbose mode by adding V=s
:
make package/tmux/compile V=s
You can speed up compilation on multiprocessor systems by running several build threads simultaneously by adding -jN
:
make -j4 package/compile
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.
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.