numam-spdk/mk
Seth Howell 2a3b6b4179 mk/lib: Build subdirs before lib dir
The subdirectories of libraries are currently listed as dependencies of
the library. If you look at the actual symbols they contain, the
opposite is true. For all of the bdevs, event subsystems and other
library directories, the subdirectories actually rely on symbols
contained in the parent directory.
If we want to create the proper inter-library dependencies in SPDK at
compile/link time, then we need to respect the order of these symbol
dependencies when executing make (e.g. make libspdk_event.so before
libspdk_event_bdev.so). Otherwise we create a loop of dependencies in
the make system.

Change-Id: Idcbb050b2709f575d0cec46b481824d6313612b4
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/465191
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-08-15 20:32:28 +00:00
..
nvme.libtest.mk examples/nvme/perf: Optional VMD enumeration 2019-06-18 03:59:36 +00:00
spdk.app_cxx.mk Makefile: Add possibility to uninstall spdk. 2019-05-16 20:56:18 +00:00
spdk.app_vars.mk mk: force --no-as-needed for spdk libs. 2019-08-12 21:12:16 +00:00
spdk.app.mk Makefile: Add possibility to uninstall spdk. 2019-05-16 20:56:18 +00:00
spdk.common.mk build: Detect compiler toolchain in configure 2019-07-26 16:22:27 +00:00
spdk.deps.mk build: add copyright header where missing 2016-11-22 16:41:47 -07:00
spdk.lib.mk mk/lib: Build subdirs before lib dir 2019-08-15 20:32:28 +00:00
spdk.mock.unittest.mk thread: Eliminate use of pthread_self and thread_ids 2019-01-15 16:53:12 +00:00
spdk.modules.mk mk: clean up BLOCKDEV_MODULES_LIST in spdk.modules.mk 2019-08-08 22:41:30 +00:00
spdk.subdirs.mk Makefile: Add possibility to uninstall spdk. 2019-05-16 20:56:18 +00:00
spdk.unittest.mk Makefile: Add possibility to uninstall spdk. 2019-05-16 20:56:18 +00:00