summaryrefslogtreecommitdiff
path: root/source/k/kernel-generic.SlackBuild
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-11-06 21:14:40 +0000
committerEric Hameleers <alien@slackware.com>2019-11-07 08:59:50 +0100
commit28de491cabcc2ab8aeac49ec62bbf8f89422cd41 (patch)
tree57817bacb515f48298ac1060cfd6e3e70920470a /source/k/kernel-generic.SlackBuild
parentff1ff4e8b953a974555ba646d342767187e967f2 (diff)
downloadcurrent-28de491cabcc2ab8aeac49ec62bbf8f89422cd41.tar.gz
Wed Nov 6 21:14:40 UTC 201920191106211440
a/cpio-2.13-x86_64-1.txz: Upgraded. a/kernel-generic-4.19.82-x86_64-1.txz: Upgraded. a/kernel-huge-4.19.82-x86_64-1.txz: Upgraded. a/kernel-modules-4.19.82-x86_64-1.txz: Upgraded. ap/hplip-3.19.11-x86_64-1.txz: Upgraded. d/kernel-headers-4.19.82-x86-1.txz: Upgraded. d/mercurial-5.2-x86_64-1.txz: Upgraded. k/kernel-source-4.19.82-noarch-1.txz: Upgraded. l/python-six-1.13.0-x86_64-1.txz: Upgraded. l/shared-mime-info-1.15-x86_64-1.txz: Upgraded. l/zstd-1.4.4-x86_64-1.txz: Upgraded. n/ModemManager-1.12.0-x86_64-1.txz: Upgraded. n/NetworkManager-1.20.6-x86_64-1.txz: Upgraded. n/curl-7.67.0-x86_64-1.txz: Upgraded. n/libmbim-1.20.2-x86_64-1.txz: Upgraded. x/mesa-19.2.3-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/k/kernel-generic.SlackBuild')
-rwxr-xr-xsource/k/kernel-generic.SlackBuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/k/kernel-generic.SlackBuild b/source/k/kernel-generic.SlackBuild
index 4b31162a..76ae1452 100755
--- a/source/k/kernel-generic.SlackBuild
+++ b/source/k/kernel-generic.SlackBuild
@@ -97,6 +97,14 @@ if [ ! -z "${KERNEL_CLEAN}" ]; then
( cd ${KERNEL_SOURCE}
echo "Cleaning kernel source (make clean)..."
make clean
+ # Make sure header files aren't missing...
+ make prepare
+ # Don't package the kernel in the sources:
+ find . -name "*Image" -exec rm "{}" \+
+ # No need for these:
+ rm -f .config.old .version modules.*
+ find . -name "*.cmd" -exec rm -f "{}" \+
+ rm .*.d
)
fi