summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-02 16:39:27 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-02 16:39:27 +0000
commita702c26fde6ee7159afa6804204ac1f4a81be468 (patch)
tree955b44f285076b78c9fadc305c4c751e9aade03c /include
parent2d65dbf431ffd9ede4cc9f874473ab1edc247016 (diff)
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))