blob: 6d45c001832fa0b67047490882fcf093e44bd64d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
Description: Disable kernel check in configure script if no dkms is used
This means it's skipped during package build but not during install
time when a build of the kernel module is being triggered via dkms.
Author: Axel Beckert <abe@debian.org>
Forwarded: not-needed
--- a/configure
+++ b/configure
@@ -631,6 +631,7 @@ dkms_check() {
echo "Module version: $(./version.sh)"
+if [ "$SKIPDKMS" != 1 ]; then
kernel_find_version #KVERSION
test "$KLIBMOD" || KLIBMOD=$KVERSION
echo "Kernel version: $KVERSION ($KHOW)"
@@ -639,6 +640,7 @@ echo "Kernel sources: $KDIR ($KSHOW)"
kernel_check_consistency
kernel_check_config
kernel_check_features
+fi
CC=${CC:-gcc}
test "$IPTBIN" || IPTBIN=`which iptables`
|