Control: tag -1 patch Attaching a patch that fixes this.
Ben. -- Ben Hutchings A free society is one where it is safe to be unpopular. - Adlai Stevenson
From: Ben Hutchings <b...@decadent.org.uk> Subject: Use $KERNELRELEASE as target kernel version Bug-Debian: http://bugs.debian.org/693638 We must not assume that the running kernel version is the target version! DKMS and later Kbuild set $KERNELRELEASE to be the target kernel version. --- a/driver/Makefile +++ b/driver/Makefile @@ -12,7 +12,11 @@ DISTFILES = \ # By default, we try to compile the modules for the currently running # kernel. But it's the first approximation, as we will re-read the # version from the kernel sources. +ifeq (,$(KERNELRELEASE)) KVERS ?= $(shell uname -r) +else +KVERS ?= $(KERNELRELEASE) +endif # KBUILD is the path to the Linux kernel build tree. It is usually the # same as the kernel source tree, except when the kernel was compiled in
signature.asc
Description: This is a digitally signed message part