Ubuntu20.04编译OpenWRT(Xiaomi Mi Router 4A Gigabit Edition)

依据coolsnowwolf的lede仓库在Ubuntu编译适用于小米路由器4A千兆版的OpenWRT固件

coolsnowwolf的lede仓库

安装依赖

sudo apt-get update
sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3 python2.7 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler g++-multilib antlr3 gperf wget curl swig rsync

git源码

git clone https://github.com/coolsnowwolf/lede

准备及编译

cd lede

./scripts/feeds update -a

./scripts/feeds install -a

make menuconfig

make -j4 download V=s

make -j4 V=s


Ubuntu20.04编译OpenWRT(Xiaomi Mi Router 4A Gigabit Edition)
https://ba2in9a.top/f8f1c502
作者
ba2in9a
发布于
2022年3月17日
更新于
2022年3月30日
许可协议