linux5.3-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

Closes #15859
This commit is contained in:
Piraty 2019-10-25 16:30:38 +02:00
parent 3f920b2067
commit cbcd330375

View file

@ -1,7 +1,7 @@
# Template file for 'linux5.3'
pkgname=linux5.3
version=5.3.8
revision=1
revision=2
wrksrc="linux-${version}"
short_desc="Linux kernel and modules (${version%.*} series)"
maintainer="Foxlet <foxlet@furcode.co>"
@ -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