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