linux4.19-headers: remove objects from scripts/

Shipping objects generated during crossbuild makes no sense and breaks
"make scripts" on the target upon first run of the dkms trigger
This commit is contained in:
Piraty 2019-10-25 16:30:38 +02:00
parent 32ff7bfa55
commit 3f920b2067

View file

@ -1,7 +1,7 @@
# Template file for 'linux4.19'
pkgname=linux4.19
version=4.19.81
revision=1
revision=2
wrksrc="linux-${version}"
short_desc="Linux kernel and modules (${version%.*} series)"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
@ -182,6 +182,8 @@ do_install() {
# they need to be copied to ${hdrdest} before this step
if [ "$CROSS_BUILD" ]; then
make ${makejobs} ARCH=${subarch:-$arch} _mrproper_scripts
# remove host specific objects as well
find scripts -name '*.o' -delete
fi
# Copy files necessary for later builds, like nvidia and vmware