]> git.proxmox.com Git - mirror_spl-debian.git/commitdiff
Add KVERS
authorAron Xu <aron@debian.org>
Fri, 12 Jul 2013 18:48:42 +0000 (02:48 +0800)
committerAron Xu <aron@debian.org>
Fri, 12 Jul 2013 19:14:40 +0000 (03:14 +0800)
debian/rules

index c8f0ec13de0c4ab0153756876c68065a1974a6af..3817cfa8c6fd973c15922f9585068968e4079b9f 100755 (executable)
@@ -11,6 +11,8 @@ ifndef DEB_HOST_ARCH
 DEB_HOST_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH)
 endif
 
+KVERS=$(shell uname -r)
+
 non_epoch_version=$(shell echo $(KVERS) | perl -pe 's/^\d+://')
 PACKAGE=spl
 pmodules = $(PACKAGE)-modules-$(non_epoch_version)-$(DEB_HOST_ARCH)