Spdk/app
Jim Harris 3da5847023 build: add ENV_LINKER_ARGS to LINK_C and LINK_CXX
This allows us to remove $(ENV_LINKER_ARGS) from all of the
application Makefiles.

Modify spdk.unittest.mk to explicitly set ENV_LINKER_ARGS
to nothing, to avoid DPDK libraries from getting linked
into unit tests.  This seems better than creating separate
LINK_C rules for unit tests.  Provide a UNIT_TEST_LINK_ENV
flag to allow select unit tests to override this behavior -
it's needed for some of the env unit tests.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I647f2c848cf434023cf5a1f3a45869bbc4fc8102
Reviewed-on: https://review.gerrithub.io/434145
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2018-11-28 10:21:45 +00:00
..
iscsi_tgt build: add ENV_LINKER_ARGS to LINK_C and LINK_CXX 2018-11-28 10:21:45 +00:00
iscsi_top lib/trace: records num-trace-entries for lcores 2018-11-26 18:34:18 +00:00
nvmf_tgt build: add ENV_LINKER_ARGS to LINK_C and LINK_CXX 2018-11-28 10:21:45 +00:00
spdk_tgt build: add ENV_LINKER_ARGS to LINK_C and LINK_CXX 2018-11-28 10:21:45 +00:00
trace lib/trace: records num-trace-entries for lcores 2018-11-26 18:34:18 +00:00
vhost build: add ENV_LINKER_ARGS to LINK_C and LINK_CXX 2018-11-28 10:21:45 +00:00
Makefile app/spdk_tgt: add unified SPDK target application 2018-03-09 09:56:44 -05:00