参考:https://www.cnblogs.com/topbin/p/8794152.html
下载
https://github.com/garywangcn/bpi-r2_lede/tree/bpi-r2-on-lede-v1
编译
./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig
- 注意:
目前看来,不能在Windows环境下编译。
zlib的安装
a. 下载zlib库-> http://www.zlib.net/
b. 解压 tar -xvzf zlib(tab出来)
c. ./configure
d. make
e. make check
f. make install(注意是否需要sudo权限)
g. ll /usr/local/libncurses的安装
apt-get install ncurses会出现找不到源的问题
改:
apt-get install libncurses5-dev libncursesw5-dev
Q&A:
-
wget: SSL support not available, please install one of the libustream-ssl-* libraries as well as the ca-bundle and ca-certificates packages.
opkg install librt openssl-uti
2.Connection error: Invalid SSL certificate
opkg install ca-bundle
opkg install ca-certificates