summaryrefslogtreecommitdiff
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
commit02cd6d278f4545841f0953ab41c71203e024fc5e (patch)
treeaef03748b0104c0189b85858716a97130ef258e4 /include
parent62637bcce1db91ee9139ea197b62b7b9ed893b08 (diff)
downloadmtk-20170518-02cd6d278f4545841f0953ab41c71203e024fc5e.zip
mtk-20170518-02cd6d278f4545841f0953ab41c71203e024fc5e.tar.gz
mtk-20170518-02cd6d278f4545841f0953ab41c71203e024fc5e.tar.bz2
use a default VERSION field for kmod packages
SVN-Revision: 8575
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 b3eec97..00d1b8c 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))