rpi-kernel-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
cb426d6bfc
commit
32ff7bfa55
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,7 @@ _gitshort="${_githash:0:7}"
|
|||
|
||||
pkgname=rpi-kernel
|
||||
version=4.19.80
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="linux-${_githash}"
|
||||
maintainer="Peter Bui <pbui@github.bx612.space>"
|
||||
homepage="http://www.kernel.org"
|
||||
|
@ -181,6 +181,8 @@ do_install() {
|
|||
# they need to be copied to ${hdrdest} before this step
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
make ${makejobs} ARCH=${_arch} _mrproper_scripts
|
||||
# remove host specific objects as well
|
||||
find scripts -name '*.o' -delete
|
||||
fi
|
||||
|
||||
# Copy files necessary for later builds.
|
||||
|
|
Loading…
Reference in a new issue