summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-02-20 10:54:35 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-02-20 10:54:35 +0100
commit2194982a6602203f7aae3c1bc4dccfa469c34e1a (patch)
treea977da561a16d1efafb2a72c1a0203e9b0f3a6b7 /Makefile
parentcceea9e9eacfa8d165d4ad11900f061ac6401a11 (diff)
downloadcryptodev-linux-2194982a6602203f7aae3c1bc4dccfa469c34e1a.tar.gz
cryptodev-linux-2194982a6602203f7aae3c1bc4dccfa469c34e1a.tar.xz
cryptodev-linux-2194982a6602203f7aae3c1bc4dccfa469c34e1a.zip
Examples were moved to examples/ directory.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 5a8eb2b..faab5f7 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
cryptodev-objs = cryptodev_main.o cryptodev_cipher.o
@@ -16,10 +16,5 @@ clean:
make -C $(KERNEL_DIR) SUBDIRS=`pwd` clean
rm -f $(hostprogs)
-hostprogs := example-cipher example-hmac
-example-cipher-objs := example-cipher.o
-example-hmac-objs := example-hmac.o
-
-check: $(hostprogs)
- ./example-cipher
- ./example-hmac
+check:
+ KERNEL_DIR=$(KERNEL_DIR) make -C examples check