Skip to content
Snippets Groups Projects
Commit 6a559ff9 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

include: modify kernel.mk to build empty kmod packages if the referenced...

include: modify kernel.mk to build empty kmod packages if the referenced symbols do not exist in the config

SVN-Revision: 37400
parent a5f93fad
No related branches found
No related tags found
No related merge requests found
...@@ -176,9 +176,13 @@ $(call KernelPackage/$(1)/config) ...@@ -176,9 +176,13 @@ $(call KernelPackage/$(1)/config)
endif endif
$(if $(CONFIG_PACKAGE_kmod-$(1)), $(if $(CONFIG_PACKAGE_kmod-$(1)),
else else
compile: kmod-$(1)-unavailable compile: $(1)-disabled
kmod-$(1)-unavailable: $(1)-disabled:
@echo "WARNING: kmod-$(1) is not available in the kernel config" >&2 @echo "WARNING: kmod-$(1) is not available in the kernel config - generating empty package" >&2
define Package/kmod-$(1)/install
true
endef
) )
endif endif
$$(eval $$(call BuildPackage,kmod-$(1))) $$(eval $$(call BuildPackage,kmod-$(1)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment