Skip to content

How to build

练亮斌 edited this page Sep 10, 2020 · 3 revisions

This project is Openwrt suitable for RTD129X. The tested devices include: Zidoo Z9S/X9S, Raycloud (with X9S firmware)

Build

Local build

To build in Linux, these packages need to be installed 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.

In addition to installing the above software packages, build in Mac also needs to configure the PATH environment variable and case-sensitive disk. For details, please refer to https://p3terx.com/archives/compiling-openwrt-with-macos.html

After the code is cloned, execute the following command:

./scripts/feeds update -a
./.github/workflows/dev.sh
./scripts/feeds install -a

cp .github/workflows/z9s.config .config #for x9s, replace this line with cp .github/workflows/x9s.config .config
make defconfig
make V=s -j8

Remote build

The project has integrated with GitHub Actions, it will be built automatically when you push the changes. For details, please see .github/workflows/ci.yml (Thanks to P3TERX for his Actions-OpenWrt)