add support for KernelPackage/*/description
authorNicolas Thill <nico@openwrt.org>
Sat, 25 Aug 2007 14:43:15 +0000 (14:43 +0000)
committerNicolas Thill <nico@openwrt.org>
Sat, 25 Aug 2007 14:43:15 +0000 (14:43 +0000)
SVN-Revision: 8484

include/kernel.mk

index df859a4..7f035c7 100644 (file)
@@ -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