2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
11 define KernelPackage
/i2c-core
13 DESCRIPTION
:=Kernel modules for i2c support
17 FILES
:=$(LINUX_DIR
)/drivers
/i2c
/*.
$(LINUX_KMOD_SUFFIX
)
18 AUTOLOAD
:=$(call AutoLoad
,50,i2c-core i2c-dev
)
20 $(eval
$(call KernelPackage
,i2c-core
))
22 define KernelPackage
/i2c-algos
23 TITLE
:=I2C algorithms support
24 DESCRIPTION
:=Kernel modules for various i2c algorithms
25 DEPENDS
:=kmod-i2c-core
27 KCONFIG
:=CONFIG_I2C_ALGOBIT
28 FILES
:=$(LINUX_DIR
)/drivers
/i2c
/algos
/*.
$(LINUX_KMOD_SUFFIX
)
29 AUTOLOAD
:=$(call AutoLoad
,60,i2c-algo-bit i2c-algo-pcf i2c-algo-pca
)
31 $(eval
$(call KernelPackage
,i2c-algos
))
33 define KernelPackage
/i2c-au1x00gpio
34 TITLE
:=I2C GPIO interface for Au1x00 devices
35 DESCRIPTION
:=I2C GPIO interface for Au1x00 devices
36 DEFAULT
:=y if LINUX_2_6_AU1000
37 DEPENDS
:=kmod-i2c-core kmod-i2c-algos @LINUX_2_6_AU1000
39 KCONFIG
:=CONFIG_I2C_AU1X00GPIO
40 FILES
:=$(LINUX_DIR
)/drivers
/i2c
/busses
/i2c-au1x00gpio.
$(LINUX_KMOD_SUFFIX
)
41 AUTOLOAD
:=$(call Autoload
,70,i2c-au1x00gpio
)
43 $(eval
$(call KernelPackage
,i2c-au1x00gpio
))
45 define KernelPackage
/i2c-scx200
46 TITLE
:=SCX200 i2c support
47 DESCRIPTION
:=Kernel module for SCX200 i2c bus
48 DEFAULT
:=y if LINUX_2_6_X86_Soekris
49 DEPENDS
:=kmod-i2c-core kmod-i2c-algos @LINUX_2_6_X86_Soekris
51 KCONFIG
:=CONFIG_SCx200_I2C
52 FILES
:=$(LINUX_DIR
)/drivers
/i2c
/busses
/scx200_i2c.
$(LINUX_KMOD_SUFFIX
) \
53 $(LINUX_DIR
)/drivers
/i2c
/busses
/i2c-isa.
$(LINUX_KMOD_SUFFIX
)
54 AUTOLOAD
:=$(call AutoLoad
,70,i2c-isa scx200_i2c
)
56 $(eval
$(call KernelPackage
,i2c-scx200
))