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:
- Run
makepkg -sr
to pull the kernel source code from the BredOS rockchip kernel fork (rk6.1-rkr3 branch), which is saved in thelinux-rockchip-rkr3/src/linux-rockchip
directory. - Make the necessary changes in
linux-rockchip-rkr3/src/linux-rockchip
. - After making the changes, run
makepkg -srf
to build and package the kernel.