Browse Source

add support for KernelPackage/*/description

SVN-Revision: 8484
Nicolas Thill 18 years ago
parent
commit
655a446b17
1 changed files with 6 additions and 0 deletions
  1. 6 0
      include/kernel.mk

+ 6 - 0
include/kernel.mk

@@ -99,6 +99,12 @@ define KernelPackage
     $(call KernelPackage/$(1)/$(BOARD)-$(KERNEL))
     $(call KernelPackage/$(1)/$(BOARD)-$(KERNEL))
   endef
   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 ($(if $(KCONFIG),$(filter m,$(foreach c,$(filter-out %=y %=n %=m,$(KCONFIG)),$($(c)))),.),)
     ifneq ($(strip $(FILES)),)
     ifneq ($(strip $(FILES)),)
       define Package/kmod-$(1)/install
       define Package/kmod-$(1)/install