core/linux-aarch64: Fix module linker script destination path (#1593)

This commit is contained in:
Lasse Bang Mikkelsen 2018-06-09 01:47:01 +02:00 committed by Kevin Mihelich
parent ff5393b59f
commit 697c959247

View file

@ -8,7 +8,7 @@ _srcname=linux-4.17
_kernelname=${pkgbase#linux}
_desc="AArch64 multi-platform"
pkgver=4.17.0
pkgrel=2
pkgrel=3
arch=('aarch64')
url="http://www.kernel.org/"
license=('GPL2')
@ -173,9 +173,6 @@ _package-headers() {
mkdir -p ${pkgdir}/usr/lib/modules/${_kernver}/build/arch/$KARCH
cp -a arch/$KARCH/include ${pkgdir}/usr/lib/modules/${_kernver}/build/arch/$KARCH/
# copy module linker script
cp -a arch/$KARCH/kernel/module.lds "${pkgdir}/usr/lib/modules/${_kernver}/build"
# copy files necessary for later builds, like nvidia and vmware
cp Module.symvers "${pkgdir}/usr/lib/modules/${_kernver}/build"
cp -a scripts "${pkgdir}/usr/lib/modules/${_kernver}/build"
@ -190,6 +187,9 @@ _package-headers() {
cp arch/${KARCH}/kernel/asm-offsets.s "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/kernel/"
# copy module linker script
cp arch/$KARCH/kernel/module.lds "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/kernel/"
# add dm headers
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/md"
cp drivers/md/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/md"