Explorar el Código

add support for KernelPackage/*/description

SVN-Revision: 8484
Nicolas Thill hace 18 años
padre
commit
655a446b17
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      include/kernel.mk

+ 6 - 0
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