Skip to content

BredOS/sbc-pkgbuilds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbc-pkgbuilds

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.

Usage

To build a package from this repository clone it and then run makepkg -s in the directory of the package you want to build.

How to modify a kernel package

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 the linux-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.