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 <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: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
c988348361
commit
290d058a8c
2
Makefile
2
Makefile
@ -97,7 +97,7 @@ examples: $(LIB)
|
|||||||
pkgdep:
|
pkgdep:
|
||||||
sh ./scripts/pkgdep.sh
|
sh ./scripts/pkgdep.sh
|
||||||
|
|
||||||
$(DIRS-y): include/spdk/config.h
|
$(DIRS-y): mk/cc.mk include/spdk/config.h
|
||||||
|
|
||||||
mk/cc.mk:
|
mk/cc.mk:
|
||||||
$(Q)echo "Please run configure prior to make"
|
$(Q)echo "Please run configure prior to make"
|
||||||
|
Loading…
Reference in New Issue
Block a user