aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules/i2c.mk
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-04-16 08:03:53 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-04-16 08:03:53 +0000
commitba1552f84085d933646f5dcd596bb74da9833477 (patch)
tree1e790b35b75a557f37e74622c65d9556739bc60c /package/kernel/modules/i2c.mk
parenta058031334780549873b760e1a52699d2118e814 (diff)
downloadupstream-ba1552f84085d933646f5dcd596bb74da9833477.tar.gz
upstream-ba1552f84085d933646f5dcd596bb74da9833477.tar.bz2
upstream-ba1552f84085d933646f5dcd596bb74da9833477.zip
Add profile for Soekris Net4801 boards (#1072)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6962 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules/i2c.mk')
-rw-r--r--package/kernel/modules/i2c.mk14
1 files changed, 13 insertions, 1 deletions
diff --git a/package/kernel/modules/i2c.mk b/package/kernel/modules/i2c.mk
index b33c58fdda..4d65b6ea3d 100644
--- a/package/kernel/modules/i2c.mk
+++ b/package/kernel/modules/i2c.mk
@@ -37,7 +37,19 @@ define KernelPackage/i2c-au1x00gpio
SUBMENU:=$(I2CMENU)
KCONFIG:=$(CONFIG_I2C_AU1X00GPIO)
FILES:=$(MODULES_DIR)/kernel/drivers/i2c/busses/i2c-au1x00gpio.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call Autoload,70,i2c-au1x00gpio)
+ AUTOLOAD:=$(call Autoload,70,i2c-au1x00gpio)
endef
$(eval $(call KernelPackage,i2c-au1x00gpio))
+define KernelPackage/i2c-scx200
+ TITLE:=SCX200 i2c support
+ DESCRIPTION:=Kernel module for SCX200 i2c bus
+ DEFAULT:=y if LINUX_2_6_X86_Soekris
+ 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)
+ AUTOLOAD:=$(call AutoLoad,70,scx200_i2c)
+endef
+$(eval $(call KernelPackage,i2c-scx200))