rpi-kernel: fix dkms on armv*

fixes: #53938
This commit is contained in:
classabbyamp 2025-01-12 12:48:18 -05:00
parent 0356333280
commit 1e79426afb
No known key found for this signature in database
GPG key ID: 6BE0755918A4C7F5

View file

@ -15,7 +15,7 @@
# XXX: KEEP IN SYNC WITH rpi5-kernel
pkgname=rpi-kernel
version=6.6.69
revision=1
revision=2
_githash=a40c744db5c0eee3ffb3fdc2e2da5e877f64f361
archs="aarch64* armv6l* armv7l*"
hostmakedepends="perl kmod uboot-mkimage openssl-devel bc bison flex xz pahole
@ -213,9 +213,9 @@ do_install() {
mkdir -p ${hdrdest}/arch/${arch}/kernel
cp arch/${arch}/Makefile ${hdrdest}/arch/${arch}
mkdir -p ${hdrdest}/arch/arm64/kernel
cp arch/${arch}/kernel/asm-offsets.s ${hdrdest}/arch/${arch}/kernel
if [ "$arch" = "arm64" ]; then
mkdir -p ${hdrdest}/arch/arm64/kernel
cp arch/arm64/kernel/asm-offsets.s ${hdrdest}/arch/arm64/kernel
cp -a arch/arm64/kernel/vdso ${hdrdest}/arch/arm64/kernel/
fi