From a7c9f1763eb684575c1e0968b6884b13080f63b7 Mon Sep 17 00:00:00 2001 From: Tom Charnock Date: Wed, 23 Apr 2025 09:23:51 +0200 Subject: [PATCH] init template for uConsole (expect not to work) --- srcpkgs/linux-6.12-uConsole/template | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 srcpkgs/linux-6.12-uConsole/template diff --git a/srcpkgs/linux-6.12-uConsole/template b/srcpkgs/linux-6.12-uConsole/template new file mode 100644 index 00000000000..4f3513893e1 --- /dev/null +++ b/srcpkgs/linux-6.12-uConsole/template @@ -0,0 +1,29 @@ +# Template file for 'linux-6.12-uConsole' +pkgname=linux-6.12-uConsole +version=6.12.19 +revision=1 +wrksrc="linux-${version}" +build_style=gnu-configure +hostmakedepends="bc perl python3 bash git" +makedepends="elfutils openssl-devel liblz4-devel zlib-devel" +short_desc="Patched Linux kernel for the ClockworkPi uConsole using Raspberry Pi CMx" +maintainer="" +license="GPL-2.0-only" +homepage="https://github.com/ak-rex/ClockworkPi-linux" +distfiles="git+https://github.com/ak-rex/ClockworkPi-linux.git" +checksum=SKIP # You can update this after downloading +gitrev=9a9e5a6d3e6a2a1c8b2c9f9c9b9c9c9c9c9c9c9c + +do_configure() { + make defconfig # Or use a custom config +} + +do_build() { + make -j$(nproc) +} + +do_install() { + make INSTALL_MOD_PATH=${DESTDIR} modules_install + cp -v arch/x86/boot/bzImage ${DESTDIR}/boot/vmlinuz-${pkgname} +} +