forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 16
Home
练亮斌 edited this page Sep 10, 2020
·
5 revisions
Welcome to the openwrt wiki!
本项目是适合RTD129X使用的Openwrt,已经测试过的设备包括: Zidoo Z9S/X9S,小睿云(刷了X9S固件)
Linux中编译,需要安装这些软件包 build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler antlr3 gperf default-jre
。
Mac中编译除了需要安装上面的软件包,还需要配置PATH环境变量以及大小写敏感的磁盘,具体可参照 https://p3terx.com/archives/compiling-openwrt-with-macos.html
代码克隆下来以后,执行以下命令:
./scripts/feeds update -a
./.github/workflows/dev.sh
./scripts/feeds install -a
cp .github/workflows/z9s.config .config #如果是X9S,换成 cp .github/workflows/x9s.config .config
make defconfig
make V=s -j8
项目已经集成Actions编译,只要推送变更就会自动编译,还可以配置编译完放进另一个仓库,详情请看 .github/workflows/ci.yml (感谢P3TERX和他的Actions-OpenWrt)