summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2011-10-10 22:02:00 -0500
committerMike Christie <michaelc@cs.wisc.edu>2011-10-10 22:02:00 -0500
commit953f1d229519e988125b504f3813544de41dab32 (patch)
tree99b8b2077af663a05b3ab19f91c02bfe0845ec5b /Makefile
parent0c9426f3ad4222b75ecdf243fa91718e03be9be6 (diff)
downloadopen-iscsi-953f1d229519e988125b504f3813544de41dab32.tar.gz
Do not run configure for open-isns on every build
We only need to run configure in open-isns if either the configure script or Makefile.in has changed. Otherwise it's perfectly okay just to call a plain 'make' here. Signed-off-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d62bc82..c5d9700 100644
--- a/Makefile
+++ b/Makefile
@@ -26,8 +26,8 @@ IFACEFILES = etc/iface.example
all: user
-user: ;
- cd utils/open-isns; ./configure --with-security=no; $(MAKE)
+user: utils/open-isns/Makefile
+ $(MAKE) -C utils/open-isns
$(MAKE) -C utils/sysdeps
$(MAKE) -C utils/fwparam_ibft
$(MAKE) -C usr
@@ -41,6 +41,9 @@ user: ;
@echo
@echo "Read README file for detailed information."
+utils/open-isns/Makefile: utils/open-isns/configure utils/open-isns/Makefile.in
+ cd utils/open-isns; ./configure CFLAGS="$(OPTFLAGS)" --with-security=no
+
kernel: force
$(MAKE) -C kernel
@echo "Kernel Compilation complete Output file"