summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-02-23 11:30:30 +0000
committerJonas Gorski <jogo@openwrt.org>2013-02-23 11:30:30 +0000
commitc730da325aabe2e9e558ab929a3c66ebc612d16b (patch)
tree76a35c523b3434edb11d541e41068a1100e8bf85
parent3b1fa12cb9546eb29a9245968daddcdc6be4c27f (diff)
downloadmtk-20170518-c730da325aabe2e9e558ab929a3c66ebc612d16b.zip
mtk-20170518-c730da325aabe2e9e558ab929a3c66ebc612d16b.tar.gz
mtk-20170518-c730da325aabe2e9e558ab929a3c66ebc612d16b.tar.bz2
package/kernel: i2c: don't skip built-in modules
Don't skip build-in modules when generating i2c kmod packages, to allow empty packages to be generated for satisfying dependencies. Closes #12259. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 35755
-rw-r--r--package/kernel/modules/i2c.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/modules/i2c.mk b/package/kernel/modules/i2c.mk
index e1adafd..e01f937 100644
--- a/package/kernel/modules/i2c.mk
+++ b/package/kernel/modules/i2c.mk
@@ -8,7 +8,7 @@
I2C_MENU:=I2C support
ModuleConfVar=$(word 1,$(subst :,$(space),$(1)))
-ModuleFullPath=$(if $(findstring y,$($(call ModuleConfVar,$(1)))),,$(LINUX_DIR)/$(word 2,$(subst :,$(space),$(1))).ko)
+ModuleFullPath=$(LINUX_DIR)/$(word 2,$(subst :,$(space),$(1))).ko
ModuleKconfig=$(foreach mod,$(1),$(call ModuleConfVar,$(mod)))
ModuleFiles=$(foreach mod,$(1),$(call ModuleFullPath,$(mod)))
ModuleAuto=$(call AutoLoad,$(1),$(foreach mod,$(2),$(basename $(notdir $(call ModuleFullPath,$(mod))))),$(3))