summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2019-07-23 11:13:40 -0600
committerPatrick Georgi <pgeorgi@google.com>2019-07-29 06:03:09 +0000
commit5592cfd5b3dc0478af5e9ddd65f8169214860575 (patch)
treeac3d8adf3d8534eb92e1015a63bd80a2b9d90f91
parent135bc3652ed7cfd86b5594e6d86b5aa3e7a537c0 (diff)
downloadcoreboot-5592cfd5b3dc0478af5e9ddd65f8169214860575.tar.xz
Makefile: Don't create build directory for additional targets
BUG=b:112267918 TEST=Ran make help and verified build directory is no longer created Change-Id: I4bb066b5c3b3d9a7bb19291ef928042b90f10440 Signed-off-by: Raul E Rangel <rrangel@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34525 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dfc70e06c6..317a8eb1cf 100644
--- a/Makefile
+++ b/Makefile
@@ -124,7 +124,7 @@ ifneq ($(MAKECMDGOALS),)
ifneq ($(filter %config %clean cross% clang iasl gnumake lint% help% what-jenkins-does,$(MAKECMDGOALS)),)
NOCOMPILE:=1
endif
-ifeq ($(MAKECMDGOALS), %clean)
+ifneq ($(filter %clean lint% help% what-jenkins-does,$(MAKECMDGOALS)),)
NOMKDIR:=1
endif
endif