X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=include%2Fkernel.mk;fp=include%2Fkernel.mk;h=57185c5fd3938ad9ac257d4580ab5c979e46760e;hp=878a366fc4dc9ef2199c66a1c048258e28469659;hb=8892c55e7c8853ca8cbbc48cc0569d73a52d2ebf;hpb=8ac401779f2a40681e3461139556f07bc9710757 diff --git a/include/kernel.mk b/include/kernel.mk index 878a366fc4..57185c5fd3 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 \