]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r325897:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 4 Dec 2017 09:54:03 +0000 (09:54 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 4 Dec 2017 09:54:03 +0000 (09:54 +0000)
commitb3506f5932a1bd83f5472640ec3588bdc10bad99
tree310a6ffa6107ddd54a9f87a0a9176046a31eff7d
parent6284756aa8bc2da1220c462c70cd3ea723b1bd78
MFC r325897:
Improve the library dependencies helper script in src/tools.

Implement double pass of the relevant Makefiles. First make a list of
library names and directories and then scan for all the dependencies.
Spaces in directories in the source tree are not supported.

This avoids using hardcoded mappings between the library name
and the directory containing the library Makefile.

Add support for scanning contrib/ofed .

Bail out on any errors.

Sponsored by: Mellanox Technologies

git-svn-id: svn://svn.freebsd.org/base/stable/10@326521 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
tools/make_libdeps.sh