mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-16 03:53:51 +02:00
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:
parent
e92de82198
commit
4243be9ada
1 changed files with 6 additions and 11 deletions
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'rpi-kernel'
|
# Template file for 'rpi-kernel'
|
||||||
#
|
#
|
||||||
_githash="6071d6022278d8b150e6427ba7b16624e0512358"
|
_githash="d95cdf3e6a0506e3a728b0c80ae02368779d2768"
|
||||||
_gitshort="${_githash:0:7}"
|
_gitshort="${_githash:0:7}"
|
||||||
|
|
||||||
pkgname=rpi-kernel
|
pkgname=rpi-kernel
|
||||||
version=4.9.78
|
version=4.14.22
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="linux-${_githash}"
|
wrksrc="linux-${_githash}"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
@ -12,7 +12,7 @@ homepage="http://www.kernel.org"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
short_desc="The Linux kernel for Raspberry Pi (${version%.*} series [git ${_gitshort}])"
|
short_desc="The Linux kernel for Raspberry Pi (${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=c6d7146593cf5068e5b5860c1bf695566eb28304d520d550dde1dfa1735d52ef
|
checksum=76fb7fd5e9981fa74b4857f62a8e5b4e83c76e833a93463b7bf2427c3e144436
|
||||||
|
|
||||||
_kernver="${version}_${revision}"
|
_kernver="${version}_${revision}"
|
||||||
|
|
||||||
|
@ -85,6 +85,9 @@ do_install() {
|
||||||
# Install kernel, firmware and modules
|
# Install kernel, firmware and modules
|
||||||
make ${makejobs} ARCH=arm INSTALL_MOD_PATH=${DESTDIR} modules_install
|
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
|
vmkdir boot
|
||||||
# Generate kernel.img and install it to destdir.
|
# Generate kernel.img and install it to destdir.
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
@ -96,10 +99,6 @@ do_install() {
|
||||||
;;
|
;;
|
||||||
esac
|
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}
|
hdrdest=${DESTDIR}/usr/src/${sourcepkg}-headers-${_kernver}
|
||||||
|
|
||||||
# Switch to /usr.
|
# Switch to /usr.
|
||||||
|
@ -141,10 +140,6 @@ do_install() {
|
||||||
cp arch/arm/Makefile ${hdrdest}/arch/arm
|
cp arch/arm/Makefile ${hdrdest}/arch/arm
|
||||||
cp arch/arm/kernel/asm-offsets.s ${hdrdest}/arch/arm/kernel
|
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
|
# Add md headers
|
||||||
mkdir -p ${hdrdest}/drivers/md
|
mkdir -p ${hdrdest}/drivers/md
|
||||||
cp drivers/md/*.h ${hdrdest}/drivers/md
|
cp drivers/md/*.h ${hdrdest}/drivers/md
|
||||||
|
|
Loading…
Add table
Reference in a new issue