OpenWrt cross compile toolchain.
120
Openwrt交叉编译环境,请自行修改CONFIG文件配置。
# 自行决定加 --rm 参数
docker run -it \
-v $PWD:/output \
john123951/openwrt_sdk:${SDK_ENVIRONMENT}
# 进入sdk目录
cd /openwrt
# Clone 项目
git clone https://xxxxxx.git package/{PackageName}
# 选择要编译的包
make menuconfig
# 开始编译
make package/{PackageName}/compile V=99
cd /openwrt
./scripts/feeds update -a
./scripts/feeds install -a
make defconfig
make menuconfig
make download V=s
make -j3 V=s
Content type
Image
Digest
Size
268.5 MB
Last updated
over 7 years ago
docker pull john123951/openwrt_sdk:WNDR4300_17.01.4