This repository contains Arch Linux ARM PKGBUILDs to build kernel packages for SBCs. The PKGBUILDs define how to build the packages, including dependencies, build steps, and installation steps.
Please refer to the BredOS images repository for image build instructions.
Currently, it's built on the arm platform(the team use rk3588 board), so building on x86 might not work.
To build a package from this repository clone it and then run makepkg -s
in the directory of the package you want to build.
Lets take the linux-rockchip-rkr3
kernel package as an example. To apply patches to it:
makepkg -sr
to pull the kernel source code from the BredOS rockchip kernel fork (rk6.1-rkr3 branch), which is saved in the linux-rockchip-rkr3/src/linux-rockchip
directory.linux-rockchip-rkr3/src/linux-rockchip
.makepkg -srf
to build and package the kernel.