Spdk/mk
Jim Harris 92e75dfc28 build: remove lib/.gitignore
This isn't required - we already have the whole build/
directory in the top level .gitignore.

When we remove build/lib/.gitignore, it means
build/lib directory must be created somewhere
before we try to place a library there. Top-level
builds get this directory created automatically,
but building directly from a sub-directory's
Makefile means we need to explicitly create
build/lib.  So add a mkdir -p to the LIB_C
macro to do exactly that to cover these cases.

Also simplify 'make clean' at the top level Makefile.
A lot of work went in there to work around this
.gitignore file that's not needed now that we've
fixed the underlying problem by getting rid of
it.

Suggested-by: John Levon <john.levon@nutanix.com>
Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Ibb92ff84d8c2a9bbe3e193c84f15ef3866f07b1f
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9169
Reviewed-by: Nick Connolly <nick.connolly@mayadata.io>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2021-08-17 08:54:30 +00:00
..
nvme.libtest.mk build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
spdk_blank.map mk: add a placeholder map file. 2020-05-14 10:37:14 +00:00
spdk.app_cxx.mk mk: support file extension for executables 2021-03-15 09:29:10 +00:00
spdk.app_vars.mk build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
spdk.app.mk build: relink apps when vfio-user library is updated 2021-05-11 12:04:36 +00:00
spdk.common.mk build: remove lib/.gitignore 2021-08-17 08:54:30 +00:00
spdk.deps.mk build: add copyright header where missing 2016-11-22 16:41:47 -07:00
spdk.fio.mk build/fio: disable warning for fio clang-11 builds 2021-04-08 16:09:00 +00:00
spdk.lib_deps.mk lib/idxd: replace bit arrays with lists 2021-08-06 07:33:06 +00:00
spdk.lib.mk build: install generated pkg-config files 2021-03-17 11:10:45 +00:00
spdk.mock.unittest.mk mk: add mocking for mingw cross builds 2021-03-03 08:16:54 +00:00
spdk.modules.mk mk: Enable build of mlx5_pci compress PMD 2021-08-16 08:48:31 +00:00
spdk.nvmecli.mk vhost: deprecate internal vhost library support 2020-10-20 02:42:16 +00:00
spdk.subdirs.mk Makefile: Add possibility to uninstall spdk. 2019-05-16 20:56:18 +00:00
spdk.unittest.mk usdt: don't emit probes in unit tests 2021-07-09 07:02:28 +00:00