aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-01-29 15:51:05 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-01-29 15:51:05 +0000
commitcb846dae0c3d2ccbfc6cace635cb5aa9a6580ad3 (patch)
treece6f0f8e2856cf6711aa5b92304e0fa7cfb733d3 /include
parentb941d2fd65e13e5f0cba817a413f8e86a548dc0f (diff)
downloadupstream-cb846dae0c3d2ccbfc6cace635cb5aa9a6580ad3.tar.gz
upstream-cb846dae0c3d2ccbfc6cace635cb5aa9a6580ad3.tar.bz2
upstream-cb846dae0c3d2ccbfc6cace635cb5aa9a6580ad3.zip
include: apply version filter on kmod file list
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44190
Diffstat (limited to 'include')
-rw-r--r--include/kernel.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index dd6c867ea0..9fb4896d0c 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -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 @@ $(call KernelPackage/$(1)/config)
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)/ ; \