Add KVERS

This commit is contained in:
Aron Xu 2013-07-13 02:48:42 +08:00
parent c168c73c0a
commit 01d50ac880

2
debian/rules vendored
View File

@ -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)