aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-07-18 16:35:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-07-18 16:35:03 +0000
commitedd5b112c52ea86cf5edd3d21e320d7dc42f5737 (patch)
tree145219bf6dd2a7e6af6308fd805722b899f98573 /package/kernel
parent5a4df085be850789bf98d4a5e0f537f24420696b (diff)
downloadupstream-edd5b112c52ea86cf5edd3d21e320d7dc42f5737.tar.gz
upstream-edd5b112c52ea86cf5edd3d21e320d7dc42f5737.tar.bz2
upstream-edd5b112c52ea86cf5edd3d21e320d7dc42f5737.zip
move the cryptoapi kmod to package/kernel
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4149 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/Makefile4
-rw-r--r--package/kernel/modules.mk33
2 files changed, 35 insertions, 2 deletions
diff --git a/package/kernel/Makefile b/package/kernel/Makefile
index f3a9a287ed..0a26cd6cf1 100644
--- a/package/kernel/Makefile
+++ b/package/kernel/Makefile
@@ -42,14 +42,14 @@ define ModuleAutoLoad
modules="$$$$$$$${modules:+$$$$$$$$modules }$$$$$$$$1-$(1)"; \
}; \
$(3) \
- [ -n "$$$$$$$$modules" ] && { \
+ if [ -n "$$$$$$$$modules" ]; then \
mkdir -p $(2)/etc/modules.d; \
echo "#!/bin/sh" >> $(2)/CONTROL/postinst; \
echo "[ -z \"\$$$$$$$$IPKG_INSTROOT\" ] || exit" >> $(2)/CONTROL/postinst; \
echo ". /etc/functions.sh" >> $(2)/CONTROL/postinst; \
echo "load_modules $$$$$$$$modules" >> $(2)/CONTROL/postinst; \
chmod 0755 $(2)/CONTROL/postinst; \
- }
+ fi
endef
diff --git a/package/kernel/modules.mk b/package/kernel/modules.mk
index b777c1177e..ff979cf868 100644
--- a/package/kernel/modules.mk
+++ b/package/kernel/modules.mk
@@ -6,6 +6,38 @@
#
# $Id$
+
+define KernelPackage/crypto
+TITLE:=CryptoAPI modules
+DESCRIPTION:=CryptoAPI modules
+KCONFIG:= \
+ $(CONFIG_CRYPTO_HMAC) \
+ $(CONFIG_CRYPTO_NULL) \
+ $(CONFIG_CRYPTO_MD4) \
+ $(CONFIG_CRYPTO_MD5) \
+ $(CONFIG_CRYPTO_SHA1) \
+ $(CONFIG_CRYPTO_SHA256) \
+ $(CONFIG_CRYPTO_SHA512) \
+ $(CONFIG_CRYPTO_WP512) \
+ $(CONFIG_CRYPTO_TGR192) \
+ $(CONFIG_CRYPTO_DES) \
+ $(CONFIG_CRYPTO_BLOWFISH) \
+ $(CONFIG_CRYPTO_TWOFISH) \
+ $(CONFIG_CRYPTO_SERPENT) \
+ $(CONFIG_CRYPTO_AES) \
+ $(CONFIG_CRYPTO_CAST5) \
+ $(CONFIG_CRYPTO_CAST6) \
+ $(CONFIG_CRYPTO_TEA) \
+ $(CONFIG_CRYPTO_ARC4) \
+ $(CONFIG_CRYPTO_KHAZAD) \
+ $(CONFIG_CRYPTO_ANUBIS) \
+ $(CONFIG_CRYPTO_DEFLATE) \
+ $(CONFIG_CRYPTO_MICHAEL_MIC) \
+ $(CONFIG_CRYPTO_CRC32C)
+FILES:=$(MODULES_DIR)/kernel/crypto/*.$(LINUX_KMOD_SUFFIX)
+endef
+$(eval $(call KernelPackage,crypto))
+
define KernelPackage/ide-core
TITLE:=Kernel support for IDE
DESCRIPTION:=Kernel modules for IDE support\\\
@@ -31,3 +63,4 @@ AUTOLOAD:=$(call AutoLoad,30,pdc202xx_old)
endef
$(eval $(call KernelPackage,ide-pdc202xx))
+