numam-dpdk/buildtools
Bruce Richardson ed4d43d73e build: symlink drivers to library directory
With the introduction of bus drivers, we now have a situation where
driver libraries will start to depend upon each other. Because of this,
the driver libs need to be discoverable by the dynamic loader.

There are three options to fix this:
1. Force the user to put the $libdir/dpdk/drivers folder into their
	library path.
2. Move all libraries from drivers sub-directory to $libdir.
3. Symlink all libraries from the subfolder to the main library dir.

Option 1 is not great for usability or distro packaging, and option 2
means that we can't have EAL load all drivers from a known path
automatically (as it would error out on non-PMD libs), so option 3 was
chosen as the best fix. The only downside is that on a "ninja uninstall"
the symlinks are not removed, as they are unknown to meson/ninja.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
2018-01-30 21:58:59 +01:00
..
pmdinfogen buildtools: build with meson 2018-01-30 17:49:16 +01:00
auto-config-h.sh buildtools: fix icc build 2017-11-06 21:43:04 +01:00
check-experimental-syms.sh buildtools: add script to check experimental API exports 2018-01-29 22:44:00 +01:00
gen-build-mk.sh tools: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
gen-config-h.sh tools: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
gen-pmdinfo-cfile.sh buildtools: build with meson 2018-01-30 17:49:16 +01:00
Makefile pmdinfogen: add buildtools and pmdinfogen utility 2016-07-06 22:34:39 +02:00
meson.build buildtools: build with meson 2018-01-30 17:49:16 +01:00
relpath.sh tools: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
symlink-drivers-solibs.sh build: symlink drivers to library directory 2018-01-30 21:58:59 +01:00