build: change default driver installation directory
authorLuca Boccassi <bluca@debian.org>
Tue, 2 Oct 2018 16:20:45 +0000 (17:20 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 27 Oct 2018 21:22:12 +0000 (23:22 +0200)
commit085766aa67b7c18897fbcea69be0d7900db295c0
tree1f9479eee07765429ae8799025476c06a82bb207
parent477f0d38b486ca6afa2e090c56652737baadda15
build: change default driver installation directory

As part of the effort of consolidating the DPDK installation bits and
pieces across distros, set the default directory of lib/ where PMDs get
installed to dpdk/pmds-XX.YY. It's necessary to have a versioned
subdirectory as multiple ABI revisions might be installed at the same
time, so having a fixed name will cause trouble with the autoload
feature.
Small refactor with parsing and saving the major version to a variable,
since it's now used in 3 different places.

Signed-off-by: Luca Boccassi <bluca@debian.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Timothy Redaelli <tredaelli@redhat.com>
drivers/meson.build
lib/meson.build
meson.build