From dd7de8096f7b349e39f532ffde29c5701a80ce50 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 9 Aug 2020 20:08:11 +0000 Subject: user/mach64-drm: New package --- user/mach64-drm/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 user/mach64-drm/APKBUILD (limited to 'user/mach64-drm/APKBUILD') diff --git a/user/mach64-drm/APKBUILD b/user/mach64-drm/APKBUILD new file mode 100644 index 000000000..26d84ce56 --- /dev/null +++ b/user/mach64-drm/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +_kver="5.4.5-mc0" +pkgname=mach64-drm +pkgver=5.6 +pkgrel=0 +pkgdesc="Kernel driver for Mach64 GPUs" +url=" " +arch="pmmx ppc x86_64" +options="!check !dbg !strip" # No test suite. +license="MIT" +depends="easy-kernel-modules-$_kver" +makedepends="easy-kernel-src-$_kver" +subpackages="" +source="mach64-drm-$pkgver.tar.gz::https://github.com/trya/mach64-drm/archive/v$pkgver.tar.gz + header-fix.patch + " + +build() { + make -C /usr/src/linux-$_kver M="$builddir" modules +} + +package() { + if [ -f $HOME/kernel_key.pem ]; then + /usr/src/linux-$_kver/scripts/sign-file sha512 \ + $HOME/kernel_key.pem $HOME/kernel_key.pem \ + "$builddir"/mach64.ko + fi + make -C /usr/src/linux-$_kver DEPMOD=true INSTALL_MOD_PATH="$pkgdir" M="$builddir" modules_install +} + +sha512sums="c130a93e9a578943dbdfeb31040165cba3534014bf32fb6670b688ec464d6e83e781556d4b320127e0d95ad0c30c573f667cd8e9d6cd210d0edad14faedba75f mach64-drm-5.6.tar.gz +2262aedb693fcba9110ad07775b4524313d16032e5afdb23bfb610ce7ee242293c282abf6d11d528b7a0d226439a08877f432f1bde04df7cb5ce503ced02ffa6 header-fix.patch" -- cgit v1.2.3-70-g09d2 From 130cb08675c29b604d3f133b9b8a2fe3bcbaee8f Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 27 Sep 2020 07:51:06 +0000 Subject: user/mach64-drm: 32-bit only; update for mc1 --- user/mach64-drm/APKBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'user/mach64-drm/APKBUILD') diff --git a/user/mach64-drm/APKBUILD b/user/mach64-drm/APKBUILD index 26d84ce56..96fe34b04 100644 --- a/user/mach64-drm/APKBUILD +++ b/user/mach64-drm/APKBUILD @@ -1,12 +1,12 @@ # Contributor: A. Wilcox # Maintainer: A. Wilcox -_kver="5.4.5-mc0" +_kver="5.4.66-mc1" pkgname=mach64-drm pkgver=5.6 pkgrel=0 pkgdesc="Kernel driver for Mach64 GPUs" url=" " -arch="pmmx ppc x86_64" +arch="pmmx ppc" options="!check !dbg !strip" # No test suite. license="MIT" depends="easy-kernel-modules-$_kver" -- cgit v1.2.3-70-g09d2