Spdk/mk
Daniel Verkamp 98f84e6255 build: detect OS via cc -dumpmachine
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>
2017-11-03 18:53:15 -04:00
..
ioat.unittest.mk build: define SPDK_LIB_LIST to simplify building dependencies and linker args 2016-11-22 11:45:48 -07:00
json.unittest.mk json: add printf-style spdk_json_write_string_fmt() 2016-11-22 16:32:35 -07:00
nvme.libtest.mk build: define SPDK_LIB_LIST to simplify building dependencies and linker args 2016-11-22 11:45:48 -07:00
nvme.unittest.mk test: add one unit test showing example of ut_mock wrap 2017-06-15 13:46:19 -04:00
nvmf.unittest.mk nvmf: split discovery service into its own file 2017-03-17 15:55:36 -07:00
spdk.app.mk bdev: Create a separate bdev subsystem library 2017-06-16 13:10:26 -04:00
spdk.common.mk build: detect OS via cc -dumpmachine 2017-11-03 18:53:15 -04:00
spdk.deps.mk build: add copyright header where missing 2016-11-22 16:41:47 -07:00
spdk.lib.mk build: define SPDK_LIB_LIST to simplify building dependencies and linker args 2016-11-22 11:45:48 -07:00
spdk.mock.unittest.mk test/mock: add pthread_self 2017-09-19 17:15:15 -04:00
spdk.modules.mk bdev_pmem: initial implementation of persistent memory bdev 2017-09-29 14:04:32 -04:00
spdk.subdirs.mk build: add copyright header where missing 2016-11-22 16:41:47 -07:00