From f4eb4e58648a9746f7a4ca20cea716dd69137fad Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Fri, 16 Jul 2010 20:13:04 +0200 Subject: Don't recompile cryptodev_main.o all the time Signed-off-by: Nikos Mavrogiannopoulos --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f5f6dbf..958b1cf 100644 --- a/Makefile +++ b/Makefile @@ -73,7 +73,7 @@ cryptodev-objs = cryptodev_main.o cryptodev_cipher.o ncr.o \ obj-m += cryptodev.o build: - @echo "#define VERSION \"$(VERSION)\"" > version.h + @make version.h make -C $(KERNEL_DIR) SUBDIRS=`pwd` modules install: @@ -106,3 +106,6 @@ dist: clean @gpg --output $(OUTPUT).sig -sb $(OUTPUT) @gpg --verify $(OUTPUT).sig $(OUTPUT) @mv $(OUTPUT) $(OUTPUT).sig releases/ + +version.h: Makefile + @echo "#define VERSION \"$(VERSION)\"" > version.h -- cgit