linux5.12: update to 5.12.13.

Also ensure module.lds is put in header package, even when
cross-compiling. Based on a4cf297b68.
This commit is contained in:
Érico Nogueira 2021-06-23 23:24:03 -03:00
parent 5426aebc6a
commit 45cdbd1bf2
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'linux5.12'
pkgname=linux5.12
version=5.12.12
version=5.12.13
revision=1
wrksrc="linux-${version%.*}"
short_desc="Linux kernel and modules (${version%.*} series)"
@ -10,7 +10,7 @@ homepage="https://www.kernel.org"
distfiles="https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${version%.*}.tar.xz
https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-${version}.xz"
checksum="7d0df6f2bf2384d68d0bd8e1fe3e071d64364dcdc6002e7b5c87c92d48fac366
742e13b424c618689734c3c41a14c5cda5a09d8546ed5b1433153d4619524dfe"
84a39f8cbcca15af34bf431d6eb14d241bb4d1f0455da96ee0cbe1a22d44a39d"
skip_extraction="patch-${version}.xz"
python_version=3
@ -166,7 +166,7 @@ do_install() {
mkdir -p ${hdrdest}/$(dirname $file)
install -Dm644 $file ${hdrdest}/${file}
done
for file in $(find arch/${subarch:-$arch} -name module.lds -o -name Kbuild.platforms -o -name Platform); do
for file in $(find arch/${subarch:-$arch} scripts -name module.lds -o -name Kbuild.platforms -o -name Platform); do
mkdir -p ${hdrdest}/$(dirname $file)
install -Dm644 $file ${hdrdest}/${file}
done