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