eal/bsd: fix kernel modules build with meson
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 1 Feb 2018 14:20:07 +0000 (14:20 +0000)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 2 Feb 2018 10:28:52 +0000 (11:28 +0100)
commit2f90543f238d686c12cf988a04ab71612c9abeab
tree0edc3574c83e573c2843fe2a1d29ac266ffd1748
parentbb17466d09d73436157efd72e46acce40b3140b0
eal/bsd: fix kernel modules build with meson

The kernel module source file directory passed via VPATH was wrong,
which caused the source files to be not found via make. Rather than
explicitly passing VPATH, make use of the fact that the full path
to the source files is passed by meson, so split that into directory
part - to be used as VPATH - and file part - to be used as the source
filename.

Fixes: 610beca42ea4 ("build: remove library special cases")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_eal/bsdapp/BSDmakefile.meson
lib/librte_eal/meson.build