From e1dee595713a084e9fd979ab3d1a555ded9bb047 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sat, 26 Mar 2011 09:48:44 +0100 Subject: [PATCH] cryptodev.h moved to crypto/ --- Makefile | 4 ++-- cryptodev.h => crypto/cryptodev.h | 0 examples/Makefile | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) rename cryptodev.h => crypto/cryptodev.h (100%) diff --git a/Makefile b/Makefile index 0ffd466..5fd3c53 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ version.h: Makefile 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 crypto/cryptodev.h /usr/include/crypto/cryptodev.h clean: make -C $(KERNEL_DIR) SUBDIRS=`pwd` clean @@ -32,7 +32,7 @@ dist: clean @echo Packing @rm -f *.tar.gz @mkdir $(TMPDIR)/$(FILEBASE) - @cp -ar extras examples Makefile *.c *.h README NEWS \ + @cp -ar crypto extras examples Makefile *.c *.h README NEWS \ AUTHORS COPYING $(TMPDIR)/$(FILEBASE) @rm -rf $(TMPDIR)/$(FILEBASE)/.git* $(TMPDIR)/$(FILEBASE)/releases $(TMPDIR)/$(FILEBASE)/scripts @tar -C /tmp -czf ./$(OUTPUT) $(FILEBASE) diff --git a/cryptodev.h b/crypto/cryptodev.h similarity index 100% rename from cryptodev.h rename to crypto/cryptodev.h diff --git a/examples/Makefile b/examples/Makefile index 971d436..93f960d 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,4 +1,5 @@ KERNEL_DIR ?= /lib/modules/$(shell uname -r)/build +KBUILD_CFLAGS += -I.. hostprogs := cipher hmac speed async_cipher async_hmac async_speed sha_speed hashcrypt_speed example-cipher-objs := cipher.o -- 2.11.4.GIT