diff options
author | Horia Geantă <horia.geanta@nxp.com> | 2017-05-23 09:42:41 (GMT) |
---|---|---|
committer | Xie Xiaobo <xiaobo.xie@nxp.com> | 2017-07-14 09:56:57 (GMT) |
commit | c7c7204c081fc5a026a744883b0954f98ca43f59 (patch) | |
tree | 09948f7bc3a2042c1c24cf64eaeb712c80d11db2 /drivers | |
parent | 341467f4cf3df88b78fa0ae995da17ec8bbc9c2a (diff) | |
download | linux-c7c7204c081fc5a026a744883b0954f98ca43f59.tar.xz |
crypto: fix CAAM build when only caam/qi2 enabled
When only caam/qi2 is enabled, i.e.:
CRYPTO_DEV_FSL_DPAA2_CAAM=y/m
CRYPTO_DEV_FSL_CAAM=n
kbuild does not include the "caam" subdir due to:
obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM) += caam/
in the crypto drivers Makefile.
Fix this by updating subdir inclusion condition:
s/CONFIG_CRYPTO_DEV_FSL_CAAM/CONFIG_CRYPTO_DEV_FSL_CAAM_COMMON
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/crypto/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile index ad7250f..6d788fd 100644 --- a/drivers/crypto/Makefile +++ b/drivers/crypto/Makefile @@ -3,7 +3,7 @@ obj-$(CONFIG_CRYPTO_DEV_ATMEL_SHA) += atmel-sha.o obj-$(CONFIG_CRYPTO_DEV_ATMEL_TDES) += atmel-tdes.o obj-$(CONFIG_CRYPTO_DEV_BFIN_CRC) += bfin_crc.o obj-$(CONFIG_CRYPTO_DEV_CCP) += ccp/ -obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM) += caam/ +obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_COMMON) += caam/ obj-$(CONFIG_CRYPTO_DEV_GEODE) += geode-aes.o obj-$(CONFIG_CRYPTO_DEV_HIFN_795X) += hifn_795x.o obj-$(CONFIG_CRYPTO_DEV_IMGTEC_HASH) += img-hash.o |