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
19 $(LINUX_DIR
)/drivers
/i2c
/i2c-core.
$(LINUX_KMOD_SUFFIX
) \
20 $(LINUX_DIR
)/drivers
/i2c
/i2c-dev.
$(LINUX_KMOD_SUFFIX
)
21 AUTOLOAD
:=$(call AutoLoad
,50,i2c-core i2c-dev
)
24 define KernelPackage
/i2c-core
/description
25 Kernel modules for I2C support
28 $(eval
$(call KernelPackage
,i2c-core
))
31 define KernelPackage
/i2c-algos
33 TITLE
:=I2C algorithms support
34 DEPENDS
:=kmod-i2c-core
40 $(LINUX_DIR
)/drivers
/i2c
/algos
/i2c-algo-bit.
$(LINUX_KMOD_SUFFIX
) \
41 $(LINUX_DIR
)/drivers
/i2c
/algos
/i2c-algo-pcf.
$(LINUX_KMOD_SUFFIX
) \
42 $(LINUX_DIR
)/drivers
/i2c
/algos
/i2c-algo-pca.
$(LINUX_KMOD_SUFFIX
)
43 AUTOLOAD
:=$(call AutoLoad
,60,i2c-algo-bit i2c-algo-pcf i2c-algo-pca
)
46 define KernelPackage
/i2c-algos
/description
47 Kernel modules for various I2C algorithms
50 $(eval
$(call KernelPackage
,i2c-algos
))
53 define KernelPackage
/i2c-scx200
55 TITLE
:=SCX200 i2c support
56 DEFAULT
:=y if LINUX_2_6_X86_Soekris
57 DEPENDS
:=kmod-i2c-core kmod-i2c-algos @LINUX_2_6_X86_Soekris
62 $(LINUX_DIR
)/drivers
/i2c
/busses
/i2c-isa.
$(LINUX_KMOD_SUFFIX
) \
63 $(LINUX_DIR
)/drivers
/i2c
/busses
/scx200_i2c.
$(LINUX_KMOD_SUFFIX
)
64 AUTOLOAD
:=$(call AutoLoad
,70,i2c-isa scx200_i2c
)
67 define KernelPackage
/i2c-scx200
/description
68 Kernel module for SCX200 I2C bus
71 $(eval
$(call KernelPackage
,i2c-scx200
))