diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-04-29 13:00:30 +0000 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-04-29 13:00:30 +0000 |
commit | ac9121f91dc94bbe7949f46abb541960c4d84054 (patch) | |
tree | ac0be020f78b37438ccf90354c975ded8fc5252d /mk/modules.mk | |
parent | 36b450378109bb0bea3f57a063520ce13b58cec3 (diff) | |
parent | 165217e7f55097fadd0a6c15808420cd30a450a8 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'mk/modules.mk')
-rw-r--r-- | mk/modules.mk | 76 |
1 files changed, 42 insertions, 34 deletions
diff --git a/mk/modules.mk b/mk/modules.mk index b526dd596..3a0466061 100644 --- a/mk/modules.mk +++ b/mk/modules.mk @@ -805,37 +805,41 @@ $(eval $(call KMOD_template,CRYPTO_DEV_GEODE,crypto-dev-geode,\ # $(MODULES_DIR)/kernel/drivers/crypto/hifn_795x \ #,20, crypto-manager2)) -#$(eval $(call KMOD_template,CRYPTO_ALGAPI2,crypto-algapi2,\ -# $(MODULES_DIR)/kernel/crypto/crypto_algapi \ -#,02)) - -#$(eval $(call KMOD_template,CRYPTO_PCOMP2,crypto-pcomp2,\ -# $(MODULES_DIR)/kernel/crypto/pcompress \ -#,03)) - -#$(eval $(call KMOD_template,CRYPTO_AEAD2,crypto-aead2,\ -# $(MODULES_DIR)/kernel/crypto/aead \ -#,03)) - -#$(eval $(call KMOD_template,CRYPTO_HASH2,crypto-hash2,\ -# $(MODULES_DIR)/kernel/crypto/crypto_hash \ -#,04)) - -#$(eval $(call KMOD_template,CRYPTO_BLKCIPHER2,crypto-blkcipher2,\ -# $(MODULES_DIR)/kernel/crypto/crypto_wq \ -# $(MODULES_DIR)/kernel/crypto/crypto_blkcipher \ -#,05)) - -#$(eval $(call KMOD_template,CRYPTO_RNG2,crypto-rng2,\ -# $(MODULES_DIR)/kernel/crypto/rng \ -# $(MODULES_DIR)/kernel/crypto/krng \ -#,06)) - -#$(eval $(call KMOD_template,CRYPTO_MANAGER2,crypto-manager2,\ -# $(MODULES_DIR)/kernel/crypto/cryptomgr \ -# $(MODULES_DIR)/kernel/crypto/eseqiv \ -# $(MODULES_DIR)/kernel/crypto/chainiv \ -#,07)) +ifeq ($(KERNEL_BASE),3) +ifeq ($(KERNEL_MAJ),4) +$(eval $(call KMOD_template,CRYPTO_ALGAPI2,crypto-algapi2,\ + $(MODULES_DIR)/kernel/crypto/crypto_algapi \ +,02)) + +$(eval $(call KMOD_template,CRYPTO_PCOMP2,crypto-pcomp2,\ + $(MODULES_DIR)/kernel/crypto/pcompress \ +,03)) + +$(eval $(call KMOD_template,CRYPTO_AEAD2,crypto-aead2,\ + $(MODULES_DIR)/kernel/crypto/aead \ +,03)) + +$(eval $(call KMOD_template,CRYPTO_HASH2,crypto-hash2,\ + $(MODULES_DIR)/kernel/crypto/crypto_hash \ +,04)) + +$(eval $(call KMOD_template,CRYPTO_BLKCIPHER2,crypto-blkcipher2,\ + $(MODULES_DIR)/kernel/crypto/crypto_wq \ + $(MODULES_DIR)/kernel/crypto/crypto_blkcipher \ +,05)) + +$(eval $(call KMOD_template,CRYPTO_RNG2,crypto-rng2,\ + $(MODULES_DIR)/kernel/crypto/rng \ + $(MODULES_DIR)/kernel/crypto/krng \ +,06)) + +$(eval $(call KMOD_template,CRYPTO_MANAGER2,crypto-manager2,\ + $(MODULES_DIR)/kernel/crypto/cryptomgr \ + $(MODULES_DIR)/kernel/crypto/eseqiv \ + $(MODULES_DIR)/kernel/crypto/chainiv \ +,07)) +endif +endif $(eval $(call KMOD_template,CRYPTO_AUTHENC,crypto-authenc,\ $(MODULES_DIR)/kernel/crypto/authenc \ @@ -931,9 +935,13 @@ $(eval $(call KMOD_template,CRYPTO_SERPENT,crypto-serpent,\ $(MODULES_DIR)/kernel/crypto/serpent_generic \ ,11)) -#$(eval $(call KMOD_template,CRYPTO_AES,crypto-aes,\ -# $(MODULES_DIR)/kernel/crypto/aes_generic \ -#,10)) +ifeq ($(KERNEL_BASE),3) +ifeq ($(KERNEL_MAJ),4) +$(eval $(call KMOD_template,CRYPTO_AES,crypto-aes,\ + $(MODULES_DIR)/kernel/crypto/aes_generic \ +,10)) +endif +endif $(eval $(call KMOD_template,CRYPTO_AES_586,crypto-aes-586,\ $(MODULES_DIR)/kernel/arch/x86/crypto/aes-i586 \ |