summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-09-07 07:58:09 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-09-07 07:58:09 +0200
commitd8d0c330215326abdd8973a489a72acc404fef02 (patch)
treed7fa3ebfd2c41947d733f4516c14bbff04a91d3f
parent95496890180536231adfb983dc67c629f26f0caf (diff)
downloadcryptodev-linux-d8d0c330215326abdd8973a489a72acc404fef02.tar.gz
cryptodev-linux-d8d0c330215326abdd8973a489a72acc404fef02.tar.xz
cryptodev-linux-d8d0c330215326abdd8973a489a72acc404fef02.zip
Simplified makefile
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b8bf65e..38b1e6a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,10 @@
KERNEL_DIR = /lib/modules/$(shell uname -r)/build
VERSION = 0.99
CONFIG_CRYPTO_USERSPACE_ASYMMETRIC=y
+
+ifeq ($(CONFIG_CRYPTO_USERSPACE_ASYMMETRIC),y)
EXTRA_CFLAGS += -DCONFIG_CRYPTO_USERSPACE_ASYMMETRIC
+endif
EXTRA_CFLAGS += -I$(SUBDIRS)/libtommath -I$(SUBDIRS)/libtomcrypt/headers -I$(SUBDIRS)/ -DLTC_SOURCE -Wall