Rather than running 'uname', which returns information about the build system, use the C compiler's -dumpmachine option, which outputs the target triplet, which looks something like "x86_64-unknown-linux-gnu". This enables us to detect the correct target OS when the configured $(CC) is a cross compiler. Change-Id: I5659dd5b091094cc8e408a6c6f4e7f64a65e9070 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/385166 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
ioat.unittest.mk | ||
json.unittest.mk | ||
nvme.libtest.mk | ||
nvme.unittest.mk | ||
nvmf.unittest.mk | ||
spdk.app.mk | ||
spdk.common.mk | ||
spdk.deps.mk | ||
spdk.lib.mk | ||
spdk.mock.unittest.mk | ||
spdk.modules.mk | ||
spdk.subdirs.mk |