#
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
$(eval $(call KernelPackage,pcmcia-serial))
-# XXX: remove @!TARGET_* later when we have USB support properly detected on all targets
define KernelPackage/bluetooth
SUBMENU:=$(OTHER_MENU)
TITLE:=Bluetooth support
- DEPENDS:=@USB_SUPPORT @!TARGET_uml
+ DEPENDS:=@USB_SUPPORT
KCONFIG:= \
CONFIG_BLUEZ \
CONFIG_BLUEZ_L2CAP \
$(eval $(call KernelPackage,softdog))
-# XXX: remove @TARGET_* later when we are able to detect the exact version of the kernel
define KernelPackage/leds-gpio
SUBMENU:=$(OTHER_MENU)
TITLE:=GPIO LED support
$(eval $(call KernelPackage,spi-dev))
+define KernelPackage/crypto-dev-ixp4xx
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=IXP4xx crypto driver
+ DEPENDS:=\
+ @TARGET_ixp4xx +kmod-crypto-core +kmod-crypto-des +kmod-crypto-aead \
+ +kmod-crypto-authenc
+ KCONFIG:=\
+ CONFIG_CRYPTO_HW=y \
+ CONFIG_CRYPTO_DEV_IXP4XX
+ FILES:=$(LINUX_DIR)/drivers/crypto/ixp4xx_crypto.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,90,ixp4xx_crypto)
+endef
+
+define KernelPackage/crypto-dev-ixp4xx/description
+ Kernel support for the IXP4xx HW crypto engine.
+endef
+
+$(eval $(call KernelPackage,crypto-dev-ixp4xx))