aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2007-09-02 16:39:27 +0000
committerNicolas Thill <nico@openwrt.org>2007-09-02 16:39:27 +0000
commit69ffd95c713308db160a752c36e4a69fe8de7360 (patch)
tree955b44f285076b78c9fadc305c4c751e9aade03c /include
parent7ff2422da1634982470f3471c09eb76bafd1e157 (diff)
downloadupstream-69ffd95c713308db160a752c36e4a69fe8de7360.tar.gz
upstream-69ffd95c713308db160a752c36e4a69fe8de7360.tar.bz2
upstream-69ffd95c713308db160a752c36e4a69fe8de7360.zip
use a default VERSION field for kmod packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8575 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/kernel.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index b3eec97bb5..00d1b8c44c 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -92,6 +92,7 @@ define KernelPackage
CATEGORY:=Kernel modules
DESCRIPTION:=$(DESCRIPTION)
EXTRA_DEPENDS:=kernel (=$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE))
+ VERSION:=$(LINUX_VERSION)$(if $(PKG_VERSION),+$(PKG_VERSION))-$(BOARD)-$(if $(PKG_RELEASE),$(PKG_RELEASE),$(LINUX_RELEASE))
$(call KernelPackage/$(1))
$(call KernelPackage/$(1)/$(KERNEL))
$(call KernelPackage/$(1)/$(BOARD)-$(KERNEL))