Author: jow
Date: 2015-01-29 16:51:05 +0100 (Thu, 29 Jan 2015)
New Revision: 44190

Modified:
   trunk/include/kernel.mk
Log:
include: apply version filter on kmod file list

Signed-off-by: Jo-Philipp Wich <[email protected]>

Modified: trunk/include/kernel.mk
===================================================================
--- trunk/include/kernel.mk     2015-01-29 15:51:00 UTC (rev 44189)
+++ trunk/include/kernel.mk     2015-01-29 15:51:05 UTC (rev 44190)
@@ -1,5 +1,5 @@
 # 
-# Copyright (C) 2006-2011 OpenWrt.org
+# Copyright (C) 2006-2015 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -174,7 +174,7 @@
   ifneq ($(if $(filter-out %=y %=n %=m,$(KCONFIG)),$(filter m y,$(foreach 
c,$(filter-out %=y %=n %=m,$(KCONFIG)),$($(c)))),.),)
     ifneq ($(if $(SDK),$(filter-out $(LINUX_DIR)/%.ko,$(FILES)),$(strip 
$(FILES))),)
       define Package/kmod-$(1)/install
-                 @for mod in $$(FILES); do \
+                 @for mod in $$$$$$$$($(SCRIPT_DIR)/metadata.pl version_filter 
$(KERNEL_PATCHVER) $$(FILES)); do \
                        if [ -e $$$$$$$$mod ]; then \
                                mkdir -p $$(1)/$(MODULES_SUBDIR) ; \
                                $(CP) -L $$$$$$$$mod $$(1)/$(MODULES_SUBDIR)/ ; 
\
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to