core/linux-odroid-n2 to 4.9.177-3

This commit is contained in:
Kevin Mihelich 2019-06-02 17:41:20 +00:00
parent da049cb222
commit 8205789ecc

View file

@ -9,7 +9,7 @@ _srcname=linux-${_commit}
_kernelname=${pkgbase#linux}
_desc="ODROID-N2"
pkgver=4.9.177
pkgrel=2
pkgrel=3
arch=('aarch64')
url="https://github.com/hardkernel/linux/tree/odroidn2-4.9.y"
license=('GPL2')
@ -155,8 +155,9 @@ _package-headers() {
done
# copy arch includes for external modules
mkdir -p ${pkgdir}/usr/lib/modules/${_kernver}/build/arch/$KARCH
mkdir -p ${pkgdir}/usr/lib/modules/${_kernver}/build/arch/{$KARCH,arm}
cp -a arch/$KARCH/include ${pkgdir}/usr/lib/modules/${_kernver}/build/arch/$KARCH/
cp -a arch/arm/include ${pkgdir}/usr/lib/modules/${_kernver}/build/arch/arm/
# copy files necessary for later builds, like nvidia and vmware
cp Module.symvers "${pkgdir}/usr/lib/modules/${_kernver}/build"