AA kernel: modules: don't skip built-in modules for i2c
authorJonas Gorski <jogo@openwrt.org>
Mon, 25 Feb 2013 12:51:36 +0000 (12:51 +0000)
committerJonas Gorski <jogo@openwrt.org>
Mon, 25 Feb 2013 12:51:36 +0000 (12:51 +0000)
Backport of r35755.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35778

package/kernel/modules/i2c.mk

index d0ebfccfc7007982c340f5a7bce7f0b422cbde41..40d3612e788a3c803183d00f9f0dca7a0b246cac 100644 (file)
@@ -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))