From 953f1d229519e988125b504f3813544de41dab32 Mon Sep 17 00:00:00 2001 From: Mike Christie Date: Mon, 10 Oct 2011 22:02:00 -0500 Subject: 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 --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') 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" -- cgit v1.2.1