eal: export default plugin path to external tools
authorNeil Horman <nhorman@tuxdriver.com>
Fri, 17 Jun 2016 18:46:22 +0000 (14:46 -0400)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 6 Jul 2016 21:21:40 +0000 (23:21 +0200)
commitfef7ff4c2eddb8c08d025229a0833a8187131449
tree65d2ecb6d44c0e764e662b0ed35d93c5adcb2d5e
parentcb6696d22023efad238709239792ec66b0920017
eal: export default plugin path to external tools

Export a symbol containing the string:
DPDK_PLUGIN_PATH="$(CONFIG_RTE_EAL_PMD_PATH)"

Where the latter half of the string is set at build time to a location from
which autoloaded DSO's will be found.  This string is used by pmdinfo in
'plugin' mode, whereby a user can specify a dpdk installation directory (or
static binary), and scan the associated path (if found) for pmd DSO's and
report on their hardware support.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Panu Matilainen <pmatilai@redhat.com>
Acked-by: Remy Horton <remy.horton@intel.com>
lib/librte_eal/common/eal_common_options.c