sudo apt-get update
sudo apt-get install git g++ make libncurses5-dev subversion libssl-dev gawk libxml-parser-perl unzip wget python xz-utils vim zlibc zlib1g zlib1g-dev openjdk-8-jdk build-essential ccache gettext xsltproc
git https://kkgithub.com/hi-wooya/openwrt-hiwooya.git
./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig select the target:
Target System(Ralink RT288x/RT3xxx) —>
Subtarget(MT7688 based board) —>
Target Profile(HIWOOYA16128) —>
make download -j8 V=s #预下载编译所需的软件包,如果失败需要把文件包对应的github.com更改为kkgithub.com
make -j1 V=s
#精简固件的方法: https://openwrt.org/zh/docs/guide-user/additional-software/saving_space https://openwrt.org/zh/docs/guide-user/additional-software/saving_space https://openwrt.org/zh/docs/guide-user/additional-software/saving_space https://openwrt.org/docs/guide-user/additional-software/saving_space