Commit 290d058a authored by Ben Walker's avatar Ben Walker Committed by Tomasz Zawadzki
Browse files

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: default avatarBen Walker <benjamin.walker@intel.com>
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: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarAleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent c9883483
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"