build: remove SDK special case for kernel module packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48207
This commit is contained in:
parent
6318ff744d
commit
f301086eca
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ $(call KernelPackage/$(1)/config)
|
||||||
$(call KernelPackage/depends)
|
$(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 $(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
|
define Package/kmod-$(1)/install
|
||||||
@for mod in $$(call version_filter,$$(FILES)); do \
|
@for mod in $$(call version_filter,$$(FILES)); do \
|
||||||
if grep -q "$$$$$$$${mod##$(LINUX_DIR)/}" "$(LINUX_DIR)/modules.builtin"; then \
|
if grep -q "$$$$$$$${mod##$(LINUX_DIR)/}" "$(LINUX_DIR)/modules.builtin"; then \
|
||||||
|
|
Loading…
Reference in a new issue