aboutsummaryrefslogtreecommitdiff
path: root/drivers/crypto/caam/Makefile
diff options
context:
space:
mode:
authorAlex Porosanu2013-08-14 18:56:46 +0300
committerHerbert Xu2013-08-21 21:08:37 +1000
commitd4d8edf88544e4df694d32594c3dde63f82be960 (patch)
treeb88b60e29fdf1223c5451c8a82753494c0fbaec5 /drivers/crypto/caam/Makefile
parent514df2816ffb176c76c344f7d1b83e79a490e4d0 (diff)
crypto: caam - add option for enabling DEBUG mode
This patch adds an option to the Kconfig file for SEC which enables the user to see the debug messages that are printed inside the SEC driver. Signed-off-by: Alex Porosanu <alexandru.porosanu@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/Makefile')
-rw-r--r--drivers/crypto/caam/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/crypto/caam/Makefile b/drivers/crypto/caam/Makefile
index b1eb44838db5..d56bd0ec65d8 100644
--- a/drivers/crypto/caam/Makefile
+++ b/drivers/crypto/caam/Makefile
@@ -1,6 +1,9 @@
#
# Makefile for the CAAM backend and dependent components
#
+ifeq ($(CONFIG_CRYPTO_DEV_FSL_CAAM_DEBUG), y)
+ EXTRA_CFLAGS := -DDEBUG
+endif
obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM) += caam.o
obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API) += caamalg.o