rpi-kernel: update to 4.14.22.

Upstream has moved to 4.14.x:
https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=197689

Closes: #11279 [via git-merge-pr]
This commit is contained in:
Peter Bui 2018-01-31 14:54:43 -05:00 committed by Jürgen Buchmüller
parent e92de82198
commit 4243be9ada

View file

@ -1,10 +1,10 @@
# Template file for 'rpi-kernel'
#
_githash="6071d6022278d8b150e6427ba7b16624e0512358"
_githash="d95cdf3e6a0506e3a728b0c80ae02368779d2768"
_gitshort="${_githash:0:7}"
pkgname=rpi-kernel
version=4.9.78
version=4.14.22
revision=1
wrksrc="linux-${_githash}"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -12,7 +12,7 @@ homepage="http://www.kernel.org"
license="GPL-2"
short_desc="The Linux kernel for Raspberry Pi (${version%.*} series [git ${_gitshort}])"
distfiles="https://github.com/raspberrypi/linux/archive/${_githash}.tar.gz"
checksum=c6d7146593cf5068e5b5860c1bf695566eb28304d520d550dde1dfa1735d52ef
checksum=76fb7fd5e9981fa74b4857f62a8e5b4e83c76e833a93463b7bf2427c3e144436
_kernver="${version}_${revision}"
@ -85,6 +85,9 @@ do_install() {
# Install kernel, firmware and modules
make ${makejobs} ARCH=arm INSTALL_MOD_PATH=${DESTDIR} modules_install
# Install device tree blobs
make ${makejobs} ARCH=arm INSTALL_DTBS_PATH=${DESTDIR}/boot dtbs_install
vmkdir boot
# Generate kernel.img and install it to destdir.
case "$XBPS_TARGET_MACHINE" in
@ -96,10 +99,6 @@ do_install() {
;;
esac
vmkdir boot/overlays
mv arch/arm/boot/dts/overlays/*.dtbo ${DESTDIR}/boot/overlays
mv arch/arm/boot/dts/*.dtb ${DESTDIR}/boot
hdrdest=${DESTDIR}/usr/src/${sourcepkg}-headers-${_kernver}
# Switch to /usr.
@ -141,10 +140,6 @@ do_install() {
cp arch/arm/Makefile ${hdrdest}/arch/arm
cp arch/arm/kernel/asm-offsets.s ${hdrdest}/arch/arm/kernel
# Add docbook makefile
install -Dm644 Documentation/DocBook/Makefile \
${hdrdest}/Documentation/DocBook/Makefile
# Add md headers
mkdir -p ${hdrdest}/drivers/md
cp drivers/md/*.h ${hdrdest}/drivers/md