adds new lantiq kernel. once the codebase is fully tested and know to be working...
[openwrt/openwrt.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 define KernelPackage/lantiq-deu
9 TITLE:=Lantiq data encryption unit
10 SUBMENU:=$(CRYPTO_MENU)
11 DEPENDS:=@TARGET_lantiq
12 KCONFIG:=CONFIG_CRYPTO_DEV_LANTIQ \
13 CONFIG_CRYPTO_HW=y \
14 CONFIG_CRYPTO_DEV_LANTIQ_AES=y \
15 CONFIG_CRYPTO_DEV_LANTIQ_DES=y \
16 CONFIG_CRYPTO_DEV_LANTIQ_MD5=y \
17 CONFIG_CRYPTO_DEV_LANTIQ_SHA1=y
18 $(call AddDepends/crypto)
19 endef
20
21 define KernelPackage/lantiq-deu/description
22 Kernel support for the Lantiq crypto HW
23 endef
24
25 $(eval $(call KernelPackage,lantiq-deu))
26
27 USB_MENU:=USB Support
28
29 define KernelPackage/usb-dwc-otg
30 TITLE:=Synopsis DWC_OTG support
31 SUBMENU:=$(USB_MENU)
32 DEPENDS+=@TARGET_lantiq_xway +kmod-usb-core
33 KCONFIG:=CONFIG_DWC_OTG \
34 CONFIG_DWC_OTG_DEBUG=n \
35 CONFIG_DWC_OTG_LANTIQ=y \
36 CONFIG_DWC_OTG_HOST_ONLY=y
37 FILES:=$(LINUX_DIR)/drivers/usb/dwc_otg/dwc_otg.ko
38 AUTOLOAD:=$(call AutoLoad,50,dwc_otg)
39 endef
40
41 define KernelPackage/usb-dwc-otg/description
42 Kernel support for Synopsis USB on XWAY
43 endef
44
45 $(eval $(call KernelPackage,usb-dwc-otg))
46
47