summaryrefslogtreecommitdiff
path: root/drivers/crypto/ux500/hash/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/crypto/ux500/hash/Makefile')
-rw-r--r--[-rwxr-xr-x]drivers/crypto/ux500/hash/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/drivers/crypto/ux500/hash/Makefile b/drivers/crypto/ux500/hash/Makefile
index 613330a4ca4..6194da8eec8 100755..100644
--- a/drivers/crypto/ux500/hash/Makefile
+++ b/drivers/crypto/ux500/hash/Makefile
@@ -1,8 +1,10 @@
-
-ifeq ($(CONFIG_CRYPTO_DEV_UX500_DEBUG_INFO),y)
- EXTRA_CFLAGS += -D__DEBUG
-else
- EXTRA_CFLAGS += -D__RELEASE
+#
+# Copyright (C) ST-Ericsson SA 2010
+# Author: Shujuan Chen (shujuan.chen@stericsson.com)
+# License terms: GNU General Public License (GPL) version 2
+#
+ifdef CONFIG_CRYPTO_DEV_UX500_DEBUG
+CFLAGS_hash_core.o := -DDEBUG
endif
obj-$(CONFIG_CRYPTO_DEV_UX500_HASH) += u8500_hash.o