core/linux-raspberrypi to 4.4.32-4

This commit is contained in:
Kevin Mihelich 2016-11-19 15:48:11 +00:00
parent 84af7eaf36
commit e2af78b441

View file

@ -12,7 +12,7 @@ _srcname=linux-${_commit}
_kernelname=${pkgbase#linux}
_desc="Raspberry Pi"
pkgver=4.4.32
pkgrel=3
pkgrel=4
bfqver=v7r11
arch=('armv6h' 'armv7h')
url="http://www.kernel.org/"
@ -125,10 +125,11 @@ _package() {
mkdir -p "${pkgdir}"/{lib/modules,lib/firmware}
make INSTALL_MOD_PATH="${pkgdir}" modules_install
make INSTALL_DTBS_PATH="${pkgdir}/boot" dtbs_install
mkdir -p "${pkgdir}/boot/overlays"
cp arch/$KARCH/boot/dts/overlays/{*.dtbo,README} "${pkgdir}/boot/overlays"
[[ $CARCH == "armv6h" ]] && perl scripts/mkknlimg --dtok arch/$KARCH/boot/zImage "${pkgdir}/boot/kernel.img"
[[ $CARCH == "armv7h" ]] && perl scripts/mkknlimg --dtok arch/$KARCH/boot/zImage "${pkgdir}/boot/kernel7.img"
cp arch/$KARCH/boot/dts/overlays/README "${pkgdir}/boot/overlays"
# set correct depmod command for install
sed \