diff --git a/srcpkgs/rpi-kernel/template b/srcpkgs/rpi-kernel/template index ec9df2b4405..b3d4453a362 100644 --- a/srcpkgs/rpi-kernel/template +++ b/srcpkgs/rpi-kernel/template @@ -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 " @@ -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