summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2007-08-25 14:43:15 +0000
committerNicolas Thill <nico@openwrt.org>2007-08-25 14:43:15 +0000
commit655a446b17a93d7ba12c85bb4a29d160cd940c69 (patch)
tree148f6219390fb9cf728d5479b26c7df7e3d37887 /include
parent7ab328b133d77b2fd4b77b34d7f5561cae794af2 (diff)
downloadmtk-20170518-655a446b17a93d7ba12c85bb4a29d160cd940c69.zip
mtk-20170518-655a446b17a93d7ba12c85bb4a29d160cd940c69.tar.gz
mtk-20170518-655a446b17a93d7ba12c85bb4a29d160cd940c69.tar.bz2
add support for KernelPackage/*/description
SVN-Revision: 8484
Diffstat (limited to 'include')
-rw-r--r--include/kernel.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index df859a4..7f035c7 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -99,6 +99,12 @@ define KernelPackage
$(call KernelPackage/$(1)/$(BOARD)-$(KERNEL))
endef
+ ifdef KernelPackage/$(1)/description
+ define Package/kmod-$(1)/description
+$(call KernelPackage/$(1)/description)
+ endef
+ endif
+
ifneq ($(if $(KCONFIG),$(filter m,$(foreach c,$(filter-out %=y %=n %=m,$(KCONFIG)),$($(c)))),.),)
ifneq ($(strip $(FILES)),)
define Package/kmod-$(1)/install