summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-05-27 12:32:28 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-06-17 20:47:37 +0200
commit02eb90375d9975252647ac285d0ba9fa61435640 (patch)
treeb15be668291bc941e56cebba0baf591372569921 /Makefile
parent71eb8aa3b9c05b5ab8b8ab9cc0e245349dc2402d (diff)
downloadcryptodev-linux-02eb90375d9975252647ac285d0ba9fa61435640.tar.gz
cryptodev-linux-02eb90375d9975252647ac285d0ba9fa61435640.tar.xz
cryptodev-linux-02eb90375d9975252647ac285d0ba9fa61435640.zip
Added data functionality and a test program.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9b8d965..a038e32 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-KERNEL_DIR = /lib/modules/$(shell uname -r)/build
+KERNEL_DIR ?= /lib/modules/$(shell uname -r)/build
VERSION = 0.1
cryptodev-objs = cryptodev_main.o cryptodev_cipher.o ncr.o
@@ -12,6 +12,7 @@ install:
make -C $(KERNEL_DIR) SUBDIRS=`pwd` modules_install
@echo "Installing cryptodev.h in /usr/include/crypto ..."
@install -D cryptodev.h /usr/include/crypto/cryptodev.h
+ @install -D ncr.h /usr/include/crypto/ncr.h
clean:
make -C $(KERNEL_DIR) SUBDIRS=`pwd` clean