summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-25 14:43:15 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-25 14:43:15 +0000
commitadbb6bc068d7a0a74bf282fc0ecd9d9abda067c9 (patch)
tree8445c30666f5abd4216bb10fc404460c2d0f351d
parent26be7635173c068c8cafd0a9cafb27c4faf3dd16 (diff)
add support for KernelPackage/*/description
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8484 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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