summaryrefslogtreecommitdiff
path: root/include/kernel.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-11 23:11:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-11 23:11:13 +0000
commitf301086eca942852eae8e5007fca71d321021270 (patch)
tree1e3a34d82a1d7f1426e3bdf16cbda3adaecf677d /include/kernel.mk
parent6318ff744d34ee6d85ebd05e081309f98d1c1251 (diff)
downloadmtk-20170518-f301086eca942852eae8e5007fca71d321021270.zip
mtk-20170518-f301086eca942852eae8e5007fca71d321021270.tar.gz
mtk-20170518-f301086eca942852eae8e5007fca71d321021270.tar.bz2
build: remove SDK special case for kernel module packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48207
Diffstat (limited to 'include/kernel.mk')
-rw-r--r--include/kernel.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index 878a366..57185c5 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -180,7 +180,7 @@ $(call KernelPackage/$(1)/config)
$(call KernelPackage/depends)
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))),)
+ ifneq ($(strip $(FILES)),)
define Package/kmod-$(1)/install
@for mod in $$(call version_filter,$$(FILES)); do \
if grep -q "$$$$$$$${mod##$(LINUX_DIR)/}" "$(LINUX_DIR)/modules.builtin"; then \