Skip to contentSkip to conversation

crypto: sha-mb - Add avx2_supported check.

PATCH In review Vinson Lee 2 participants 2 messages Dec 30, 2014 – Jan 5, 2015

Subsystems (3)
lore
Share & tools
lore

Vinson Lee

author
#0 lore raw

PATCH 1/1 crypto: sha-mb - Add avx2_supported check.

From: Vinson Lee <[email protected]>

This patch fixes this allyesconfig target build error with older binutils.

LD arch/x86/crypto/built-in.o
ld: arch/x86/crypto/sha-mb/built-in.o: No such file: No such file or directory

---
 arch/x86/crypto/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/crypto/Makefile +1 -1
index fd0f848..5a4a089 100644
@@ -26,7 +26,6 @@ obj-$(CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL) += ghash-clmulni-intel.o
 
 obj-$(CONFIG_CRYPTO_CRC32C_INTEL) += crc32c-intel.o
 obj-$(CONFIG_CRYPTO_SHA1_SSSE3) += sha1-ssse3.o
-obj-$(CONFIG_CRYPTO_SHA1_MB) += sha-mb/
 obj-$(CONFIG_CRYPTO_CRC32_PCLMUL) += crc32-pclmul.o
 obj-$(CONFIG_CRYPTO_SHA256_SSSE3) += sha256-ssse3.o
 obj-$(CONFIG_CRYPTO_SHA512_SSSE3) += sha512-ssse3.o
@@ -46,6 +45,7 @@ endif
 ifeq ($(avx2_supported),yes)
 	obj-$(CONFIG_CRYPTO_CAMELLIA_AESNI_AVX2_X86_64) += camellia-aesni-avx2.o
 	obj-$(CONFIG_CRYPTO_SERPENT_AVX2_X86_64) += serpent-avx2.o
+	obj-$(CONFIG_CRYPTO_SHA1_MB) += sha-mb/
 endif
 
 aes-i586-y := aes-i586-asm_32.o aes_glue.o
Signature · 1 line
1.7.1
maintainer
#1 lore raw
Quoted 10 lines · Vinson Lee

From: Vinson Lee <[email protected]>

This patch fixes this allyesconfig target build error with older binutils.

LD arch/x86/crypto/built-in.o
ld: arch/x86/crypto/sha-mb/built-in.o: No such file: No such file or directory

Patch applied to crypto.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt