编译 LEDE
安装需要的库
apt-get install subversion g++ zlib1g-dev build-essential git python
apt-get install libncurses5-dev gawk gettext unzip file libssl-dev wget
下载配置 LEDE 源码
git clone https://git.lede-project.org/source.git lede
cd lede
./scripts/feeds update -a
./scripts/feeds install -a
make defconfig
make menuconfig
make kernel_menuconfig
编译
make
解决错误
错误信息
make[1] world
make[2] tools/compile
make[3] -C tools/flock compile
make[3] -C tools/sed compile
make[3] -C tools/patch compile
make[3] -C tools/xz compile
make[3] -C tools/tar compile
make -r world: build failed. Please re-run make with -j1 V=s to see what's going on
/root/lede/include/toplevel.mk:197: recipe for target 'world' failed
make: * [world] Error 1
make -j1 V=s
export FORCE_UNSAFE_CONFIGURE=1