modernize backfire 10.03 so it can be operational again
[openwrt-10.03/.git] / target / linux / lantiq / modules.mk
1 #
2 # Copyright (C) 2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 CRYPTO_MENU:=Cryptographic API modules
9
10 define KernelPackage/lantiq-deu
11   TITLE:=Lantiq data encryption unit
12   SUBMENU:=$(CRYPTO_MENU)
13   DEPENDS:=@TARGET_lantiq
14   KCONFIG:=CONFIG_CRYPTO_DEV_LANTIQ \
15            CONFIG_CRYPTO_HW=y \
16            CONFIG_CRYPTO_DEV_LANTIQ_AES=y \
17            CONFIG_CRYPTO_DEV_LANTIQ_DES=y \
18            CONFIG_CRYPTO_DEV_LANTIQ_MD5=y \
19            CONFIG_CRYPTO_DEV_LANTIQ_SHA1=y
20   DEPENDS+=@TARGET_lantiq +kmod-crypto-core
21 endef
22
23 define KernelPackage/lantiq-deu/description
24   Kernel support for the Lantiq crypto HW
25 endef
26
27 $(eval $(call KernelPackage,lantiq-deu))
28
29 USB_MENU:=USB Support
30
31 define KernelPackage/usb-dwc-otg
32   TITLE:=Synopsis DWC_OTG support
33   SUBMENU:=$(USB_MENU)
34   DEPENDS+=@TARGET_lantiq_danube +kmod-usb-core
35   KCONFIG:=CONFIG_DWC_OTG \
36         CONFIG_DWC_OTG_DEBUG=n \
37         CONFIG_DWC_OTG_LANTIQ=y \
38         CONFIG_DWC_OTG_HOST_ONLY=y \
39         CONFIG_DWC_OTG_DEVICE_ONLY=n
40   FILES:=$(LINUX_DIR)/drivers/usb/dwc_otg/dwc_otg.ko
41   AUTOLOAD:=$(call AutoLoad,50,dwc_otg)
42 endef
43
44 define KernelPackage/usb-dwc-otg/description
45   Kernel support for Synopsis USB on XWAY
46 endef
47
48 $(eval $(call KernelPackage,usb-dwc-otg))
49
50 I2C_FALCON_MODULES:= \
51   CONFIG_I2C_FALCON:drivers/i2c/busses/i2c-falcon
52
53 define KernelPackage/i2c-falcon-lantiq
54   TITLE:=Falcon I2C controller
55   SUBMENU:=I2C support
56   DEPENDS:=kmod-i2c-core @TARGET_lantiq_falcon
57   KCONFIG:=CONFIG_I2C_FALCON
58   FILES:=$(LINUX_DIR)/drivers/i2c/busses/i2c-falcon.ko
59   AUTOLOAD:=$(call AutoLoad,52,i2c-falcon)
60 endef
61
62 define KernelPackage/i2c-falcon-lantiq/description
63   Kernel support for the Falcon I2C controller
64 endef
65
66 $(eval $(call KernelPackage,i2c-falcon-lantiq))
67