From d443abcfe076b9316bc8165366b36eb5e02a77aa Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 29 May 2013 21:49:21 +0200 Subject: [PATCH] Makefile: don't run configure for make clean Normally we auto-run the configure part, if config-host.mak doesn't exist. But we don't need to do that for make clean. Signed-off-by: Jens Axboe --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 57f3f82e..3de97354 100644 --- a/Makefile +++ b/Makefile @@ -6,8 +6,10 @@ config-host-mak: configure @sed -n "/.*Configured with/s/[^:]*: //p" $@ | sh else config-host.mak: +ifneq ($(MAKECMDGOALS),clean) @echo "Running configure for you..." @./configure +endif all: include config-host.mak endif -- 2.25.1