Permalink
Browse files

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>
  • Loading branch information...
1 parent 0c9426f commit 953f1d229519e988125b504f3813544de41dab32 Mike Christie committed Oct 11, 2011
Showing with 5 additions and 2 deletions.
  1. +5 −2 Makefile
View
@@ -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"

0 comments on commit 953f1d2

Please sign in to comment.