rpi-kernel: update to 4.9.29

Closes: #5966 [via git-merge-pr]
This commit is contained in:
Peter Bui 2017-03-11 11:47:53 -05:00 committed by Michael Aldridge
parent 80eaf25341
commit fcbf46e4dd
1 changed files with 3 additions and 14 deletions

View File

@ -1,10 +1,10 @@
# Template file for 'rpi-kernel'
#
_githash="04c8e47067d4873c584395e5cb260b4f170a99ea"
_githash="1a061916c2a2eb3d880084f6d03b410cce3f7c4b"
_gitshort="${_githash:0:7}"
pkgname=rpi-kernel
version=4.4.50
version=4.9.29
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=681e8aaa538fc9a7de48aa7909173664b07fbd97798afdc1064062689bcc5e2a
checksum=ed5086f044ce929dcfebd451a8389b049fa1e478c3d98f1b46f984cd1af1e1c6
_kernver="${version}_${revision}"
@ -128,19 +128,8 @@ do_install() {
# copy arch includes for external modules
mkdir -p ${hdrdest}/arch/arm
cp -a arch/arm/include ${hdrdest}/arch/arm
case "$XBPS_TARGET_MACHINE" in
armv7l*)
mkdir -p ${hdrdest}/arch/arm/mach-bcm2709
cp -a arch/arm/mach-bcm2709/include ${hdrdest}/arch/arm/mach-bcm2709
;;
armv6l*)
mkdir -p ${hdrdest}/arch/arm/mach-bcm2708
cp -a arch/arm/mach-bcm2708/include ${hdrdest}/arch/arm/mach-bcm2708
;;
esac
mkdir -p ${hdrdest}/arch/arm/kernel
cp arch/arm/Makefile ${hdrdest}/arch/arm
cp arch/arm/kernel/asm-offsets.s ${hdrdest}/arch/arm/kernel