From 290d058a8cb2090589a6a771066fa564d8f6e98b Mon Sep 17 00:00:00 2001 From: Ben Walker Date: Wed, 20 May 2020 13:01:48 -0700 Subject: [PATCH] build: Make (DIRS-y) depend on mk/cc.mk In parallel make, it was previously possible for sub-directories to start compiling before mk/cc.mk was checked. This doesn't really cause a problem, but set up the dependencies to ensure it is always checked before proceeding with the compilation. Signed-off-by: Ben Walker Change-Id: I9152095eaebf21e242aa5472f800f036fe8d0751 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2554 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins Reviewed-by: Aleksey Marchuk Reviewed-by: Tomasz Zawadzki Reviewed-by: Jim Harris --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ca6e9d602..47e62c6f9 100644 --- a/Makefile +++ b/Makefile @@ -97,7 +97,7 @@ examples: $(LIB) pkgdep: sh ./scripts/pkgdep.sh -$(DIRS-y): include/spdk/config.h +$(DIRS-y): mk/cc.mk include/spdk/config.h mk/cc.mk: $(Q)echo "Please run configure prior to make"