summaryrefslogtreecommitdiff
path: root/package/kernel/modules/i2c.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-04-18 12:28:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-04-18 12:28:38 +0000
commit4c6c987f09c6973bb49aa452aca8332f6e620d12 (patch)
treec9a979ef4473f55e9a33a1c8d58eef183b673993 /package/kernel/modules/i2c.mk
parenta3a9e039d87cbcd2efc47004e8bce099570a9020 (diff)
downloadmtk-20170518-4c6c987f09c6973bb49aa452aca8332f6e620d12.zip
mtk-20170518-4c6c987f09c6973bb49aa452aca8332f6e620d12.tar.gz
mtk-20170518-4c6c987f09c6973bb49aa452aca8332f6e620d12.tar.bz2
Improved autorebuild for kernel related stuff. - make modules_install in the kernel tree is no longer called - make modules is called on every target/compile run - kmod packages pull the kernel modules directly out of the kernel tree and have proper file depends on them
SVN-Revision: 6998
Diffstat (limited to 'package/kernel/modules/i2c.mk')
-rw-r--r--package/kernel/modules/i2c.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/kernel/modules/i2c.mk b/package/kernel/modules/i2c.mk
index 4d65b6e..a0b121c 100644
--- a/package/kernel/modules/i2c.mk
+++ b/package/kernel/modules/i2c.mk
@@ -13,7 +13,7 @@ define KernelPackage/i2c-core
DESCRIPTION:=Kernel modules for i2c support
SUBMENU:=$(I2CMENU)
KCONFIG:=$(CONFIG_I2C)
- FILES:=$(MODULES_DIR)/kernel/drivers/i2c/*.$(LINUX_KMOD_SUFFIX)
+ FILES:=$(LINUX_DIR)/drivers/i2c/*.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,50,i2c-core i2c-dev)
endef
$(eval $(call KernelPackage,i2c-core))
@@ -24,7 +24,7 @@ define KernelPackage/i2c-algos
DEPENDS:=kmod-i2c-core
SUBMENU:=$(I2CMENU)
KCONFIG:=$(CONFIG_I2C_ALGOBIT)
- FILES:=$(MODULES_DIR)/kernel/drivers/i2c/algos/*.$(LINUX_KMOD_SUFFIX)
+ FILES:=$(LINUX_DIR)/drivers/i2c/algos/*.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,60,i2c-algo-bit i2c-algo-pcf i2c-algo-pca)
endef
$(eval $(call KernelPackage,i2c-algos))
@@ -36,7 +36,7 @@ define KernelPackage/i2c-au1x00gpio
DEPENDS:=kmod-i2c-core kmod-i2c-algos @LINUX_2_6_AU1000
SUBMENU:=$(I2CMENU)
KCONFIG:=$(CONFIG_I2C_AU1X00GPIO)
- FILES:=$(MODULES_DIR)/kernel/drivers/i2c/busses/i2c-au1x00gpio.$(LINUX_KMOD_SUFFIX)
+ FILES:=$(LINUX_DIR)/drivers/i2c/busses/i2c-au1x00gpio.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call Autoload,70,i2c-au1x00gpio)
endef
$(eval $(call KernelPackage,i2c-au1x00gpio))
@@ -48,8 +48,8 @@ define KernelPackage/i2c-scx200
DEPENDS:=kmod-i2c-core kmod-i2c-algos @LINUX_2_6_X86_Soekris
SUBMENU:=$(I2CMENU)
KCONFIG:=$(CONFIG_I2C_SCX200)
- FILES:=$(MODULES_DIR)/kernel/drivers/i2c/busses/scx200_i2c.$(LINUX_KMOD_SUFFIX) \
- $(MODULES_DIR)/kernel/drivers/i2c/busses/i2c-isa.$(LINUX_KMOD_SUFFIX)
+ FILES:=$(LINUX_DIR)/drivers/i2c/busses/scx200_i2c.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/drivers/i2c/busses/i2c-isa.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,70,scx200_i2c)
endef
$(eval $(call KernelPackage,i2c-scx200))