linux5.10: update to 5.10.46.
Ensure module.lds is put in header package, even when cross-compiling.
This commit is contained in:
parent
3a14871963
commit
a4cf297b68
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'linux5.10'
|
||||
pkgname=linux5.10
|
||||
version=5.10.45
|
||||
version=5.10.46
|
||||
revision=1
|
||||
wrksrc="linux-${version}"
|
||||
short_desc="Linux kernel and modules (${version%.*} series)"
|
||||
|
@ -8,7 +8,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|||
license="GPL-2.0-only"
|
||||
homepage="https://www.kernel.org"
|
||||
distfiles="https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${version}.tar.xz"
|
||||
checksum=f2b7249b99049c84338da09e6c857d319c97ab7a396d0035cacbfb6e73e13507
|
||||
checksum=569122a39c6b325befb9ac1c07da0c53e6363b3baacd82081d131b06c1dc1415
|
||||
python_version=3
|
||||
|
||||
# XXX Restrict archs until a proper <arch>-dotconfig is available in FILESDIR.
|
||||
|
@ -172,7 +172,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
|
||||
|
|
Loading…
Reference in New Issue