From 3f920b20672d27ac939ef75d25e5db7021113378 Mon Sep 17 00:00:00 2001 From: Piraty Date: Fri, 25 Oct 2019 16:30:38 +0200 Subject: [PATCH] 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 --- srcpkgs/linux4.19/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/linux4.19/template b/srcpkgs/linux4.19/template index 9913f7d0af9..73f620361ac 100644 --- a/srcpkgs/linux4.19/template +++ b/srcpkgs/linux4.19/template @@ -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 " @@ -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