Skip to content

Commit 51d65f0

Browse files
committed
Set KDIR early if called from dkms and get version from sources
Signed-off-by: Andreas Beckmann <anbe@debian.org>
1 parent 944c81e commit 51d65f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

configure

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ PATH=$PATH:/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/sbin
66
case "$1" in
77
--from-dkms-conf*)
88
KDKMS=`echo "$1" | sed 's/[^=]*.//'`
9+
KDIR="$KDKMS"
910
# restore options from existing Makefile, if present
1011
if [ -e Makefile ]; then
1112
set -- `sed -n 's/^CARGS = \(.*\)/\1/p' Makefile`

0 commit comments

Comments
 (0)