mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
rpi2-kernel: update to 5.10.52.
This commit is contained in:
parent
adadcc8fd4
commit
584bcbb6b3
1 changed files with 7 additions and 11 deletions
|
@ -1,16 +1,12 @@
|
||||||
# Template file for 'rpi2-kernel'
|
# Template file for 'rpi2-kernel'
|
||||||
#
|
# See rpi-kernel for version policy
|
||||||
# We track the latest Raspberry Pi LTS kernel as that is what is used in the
|
|
||||||
# official Raspbian distribution. This is currently 5.4:
|
|
||||||
#
|
|
||||||
# https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=269769
|
|
||||||
|
|
||||||
_githash="76c49e60e742d0bebd798be972d67dd3fd007691"
|
_githash="86729e78125d4f3d203457940feee8bc97b11f6c"
|
||||||
_gitshort="${_githash:0:7}"
|
_gitshort="${_githash:0:7}"
|
||||||
|
|
||||||
pkgname=rpi2-kernel
|
pkgname=rpi2-kernel
|
||||||
version=5.4.83
|
version=5.10.52
|
||||||
revision=2
|
revision=1
|
||||||
archs="armv7l*"
|
archs="armv7l*"
|
||||||
wrksrc="linux-${_githash}"
|
wrksrc="linux-${_githash}"
|
||||||
hostmakedepends="perl kmod uboot-mkimage openssl-devel bc bison flex"
|
hostmakedepends="perl kmod uboot-mkimage openssl-devel bc bison flex"
|
||||||
|
@ -20,7 +16,7 @@ homepage="http://www.kernel.org"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
short_desc="Linux kernel for Raspberry Pi 2 (${version%.*} series [git ${_gitshort}])"
|
short_desc="Linux kernel for Raspberry Pi 2 (${version%.*} series [git ${_gitshort}])"
|
||||||
distfiles="https://github.com/raspberrypi/linux/archive/${_githash}.tar.gz"
|
distfiles="https://github.com/raspberrypi/linux/archive/${_githash}.tar.gz"
|
||||||
checksum=4a98ea0d68c6e74d479789c12fc97619c872cb2607ae87a881a9491c1c3fbc35
|
checksum=a25a7dfce4c2ca5bdca39ddab5e43539d9b04900b0dbefe19f4f9b053e59968c
|
||||||
python_version=3
|
python_version=3
|
||||||
|
|
||||||
_kernver="${version}_${revision}"
|
_kernver="${version}_${revision}"
|
||||||
|
@ -141,7 +137,7 @@ do_install() {
|
||||||
mkdir -p ${hdrdest}/$(dirname $file)
|
mkdir -p ${hdrdest}/$(dirname $file)
|
||||||
install -Dm644 $file ${hdrdest}/${file}
|
install -Dm644 $file ${hdrdest}/${file}
|
||||||
done
|
done
|
||||||
for file in $(find arch/${_arch} -name module.lds -o -name Kbuild.platforms -o -name Platform); do
|
for file in $(find arch/${_arch} scripts -name module.lds -o -name Kbuild.platforms -o -name Platform); do
|
||||||
mkdir -p ${hdrdest}/$(dirname $file)
|
mkdir -p ${hdrdest}/$(dirname $file)
|
||||||
install -Dm644 $file ${hdrdest}/${file}
|
install -Dm644 $file ${hdrdest}/${file}
|
||||||
done
|
done
|
||||||
|
@ -151,7 +147,7 @@ do_install() {
|
||||||
rm -rf ${DESTDIR}/usr/lib/firmware
|
rm -rf ${DESTDIR}/usr/lib/firmware
|
||||||
|
|
||||||
for i in acpi asm-generic clocksource config crypto drm generated linux \
|
for i in acpi asm-generic clocksource config crypto drm generated linux \
|
||||||
math-emu media net pcmcia scsi sound trace uapi video xen; do
|
math-emu media net pcmcia scsi sound trace uapi vdso video xen; do
|
||||||
[ -d include/$i ] && cp -a include/$i ${hdrdest}/include
|
[ -d include/$i ] && cp -a include/$i ${hdrdest}/include
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue