aboutsummaryrefslogtreecommitdiffstats
path: root/include/kernel.mk
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
commit31779bc3ff0e69decf686ca7ac69eba7bad509c0 (patch)
tree8445c30666f5abd4216bb10fc404460c2d0f351d /include/kernel.mk
parent88cd2ada07e9a7b3d6b43de95e89b497cd654515 (diff)
downloadupstream-31779bc3ff0e69decf686ca7ac69eba7bad509c0.tar.gz
upstream-31779bc3ff0e69decf686ca7ac69eba7bad509c0.tar.bz2
upstream-31779bc3ff0e69decf686ca7ac69eba7bad509c0.zip
add support for KernelPackage/*/description
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8484 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/kernel.mk')
-rw-r--r--include/kernel.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index df859a42b0..7f035c7bc5 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