1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-14 13:49:42 +02:00
openwrt-xburst/target/linux/brcm47xx/modules.mk
florian c68ad0c25b [brcm47xx] move ubsec-ssb driver to target specific modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:50:38 +00:00

52 lines
1.3 KiB
Makefile

#
# Copyright (C) 2006-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
define KernelPackage/usb-brcm47xx
SUBMENU:=$(USB_MENU)
TITLE:=Support for USB on bcm47xx
DEPENDS:=@USB_SUPPORT @TARGET_brcm47xx
KCONFIG:= \
CONFIG_USB_HCD_BCMA \
CONFIG_USB_HCD_SSB
FILES:= \
$(LINUX_DIR)/drivers/usb/host/bcma-hcd.ko \
$(LINUX_DIR)/drivers/usb/host/ssb-hcd.ko
AUTOLOAD:=$(call AutoLoad,19,bcma-hcd ssb-hcd,1)
$(call AddDepends/usb)
endef
$(eval $(call KernelPackage,usb-brcm47xx))
define KernelPackage/ssb-gige
TITLE:=Broadcom SSB Gigabit Ethernet
KCONFIG:=CONFIG_SSB_DRIVER_GIGE=y
DEPENDS:=@TARGET_brcm47xx +kmod-tg3
SUBMENU:=$(NETWORK_DEVICES_MENU)
endef
define KernelPackage/ssb-gige/description
Kernel modules for Broadcom SSB Gigabit Ethernet adapters.
endef
$(eval $(call KernelPackage,ssb-gige))
define KernelPackage/ocf-ubsec-ssb
TITLE:=BCM5365P IPSec Core driver
DEPENDS:=@TARGET_brcm47xx +kmod-crypto-ocf
KCONFIG:=CONFIG_OCF_UBSEC_SSB
FILES:=$(LINUX_DIR)/crypto/ocf/ubsec_ssb/ubsec_ssb.ko
AUTOLOAD:=$(call AutoLoad,10,ubsec_ssb)
$(call AddDepends/crypto)
endef
define KernelPackage/ocf-ubsec-ssb/description
This package contains the OCF driver for the BCM5365p IPSec Core
endef
$(eval $(call KernelPackage,ocf-ubsec-ssb))