summaryrefslogtreecommitdiff
path: root/source/k/kernel-source.SlackBuild
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-11-30 21:17:21 +0000
committerEric Hameleers <alien@slackware.com>2019-12-01 08:59:52 +0100
commitc2f97cf7620f58491faeb94f83877b62b2d5de37 (patch)
tree1b4189e685c06bf5c857302e5a72eb597709e57e /source/k/kernel-source.SlackBuild
parent69ed33abedf322f92f538656f2ab2ceaa26ec0e4 (diff)
downloadcurrent-c2f97cf7620f58491faeb94f83877b62b2d5de37.tar.gz
Sat Nov 30 21:17:21 UTC 201920191130211721
a/kernel-generic-5.4.1-x86_64-1.txz: Upgraded. a/kernel-huge-5.4.1-x86_64-1.txz: Upgraded. a/kernel-modules-5.4.1-x86_64-1.txz: Upgraded. a/tcsh-6.22.00-x86_64-1.txz: Upgraded. a/usb_modeswitch-2.6.0-x86_64-1.txz: Upgraded. ap/cups-filters-1.25.13-x86_64-1.txz: Upgraded. ap/diffstat-1.63-x86_64-1.txz: Upgraded. ap/nano-4.6-x86_64-1.txz: Upgraded. d/kernel-headers-5.4.1-x86-1.txz: Upgraded. d/meson-0.52.1-x86_64-1.txz: Upgraded. d/strace-5.4-x86_64-1.txz: Upgraded. k/kernel-source-5.4.1-noarch-1.txz: Upgraded. l/elfutils-0.178-x86_64-1.txz: Upgraded. l/python-certifi-2019.11.28-x86_64-1.txz: Upgraded. n/ca-certificates-20191130-noarch-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/k/kernel-source.SlackBuild')
-rwxr-xr-xsource/k/kernel-source.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/k/kernel-source.SlackBuild b/source/k/kernel-source.SlackBuild
index 26b5ed92..a715aff4 100755
--- a/source/k/kernel-source.SlackBuild
+++ b/source/k/kernel-source.SlackBuild
@@ -146,8 +146,9 @@ echo "Untarring $CWD/linux-${VERSION}.tar.?z in $PKG/usr/src..."
echo "Saving new .config as: $CWD/kernel-configs/config-generic${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX}"
cp -a .config $CWD/kernel-configs/config-generic${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX}
fi
- echo "Building kernel..."
- make ${NUMJOBS} bzImage || make bzImage || exit 1
+ echo "Building kernel and modules (needed before clean for building NVIDIA to work)..."
+ make ${NUMJOBS} || exit 1
+ make ${NUMJOBS} modules || exit 1
echo "Cleaning up..."
make clean
# Make sure header files aren't missing...
@@ -155,7 +156,7 @@ echo "Untarring $CWD/linux-${VERSION}.tar.?z in $PKG/usr/src..."
# Don't package the kernel in the sources:
find . -name "*Image" -exec rm "{}" \+
# No need for these:
- rm -f .config.old .version modules.*
+ rm -f .config.old .version
find . -name "*.cmd" -exec rm -f "{}" \+
rm .*.d
# Still some dotfiles laying around... probably fine though