numam-dpdk/buildtools
Bruce Richardson f93a605f2d build: add definitions for use as Meson subproject
To allow other projects to easily use DPDK as a subproject, add in the
necessary dependency definitions. Slightly different definitions are
necessary for static and shared builds, since for shared builds the
drivers should not be linked in, and the internal meson dependency
objects are more complete.

To use DPDK as a subproject fallback i.e. use installed DPDK if present,
otherwise the shipped one, the following meson statement can be used:

libdpdk = dependency('libdpdk', fallback: ['dpdk', 'dpdk_dep'])

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Ben Magistro <koncept1@gmail.com>
Tested-by: Ben Magistro <koncept1@gmail.com>
2022-06-07 20:49:20 +02:00
..
chkincs buildtools/chkincs: check missing C++ guards 2022-02-22 15:26:15 +01:00
pkg-config build: change indentation in infrastructure files 2021-04-21 14:04:09 +02:00
subproject build: add definitions for use as Meson subproject 2022-06-07 20:49:20 +02:00
binutils-avx512-check.py buildtools: fix AVX512 check for Python 3.5 2022-01-12 18:06:52 +01:00
call-sphinx-build.py doc: replace deprecated distutils version parsing 2022-01-11 14:33:09 +01:00
check-symbols.sh build: check symbol maps in developer mode 2021-05-19 12:51:41 +02:00
coff.py buildtools: support COFF in pmdinfogen 2021-01-25 23:23:48 +01:00
gen-pmdinfo-cfile.py buildtools: fix build with Meson 0.60 2021-11-03 14:16:29 +01:00
get-cpu-count.py build: add optional NUMA and CPU counts detection 2021-09-16 09:43:28 +02:00
get-numa-count.py build: add optional NUMA and CPU counts detection 2021-09-16 09:43:28 +02:00
list-dir-globs.py buildtools: fix all drivers disabled on Windows 2021-04-17 12:49:23 +02:00
map_to_win.py build: remove Windows export symbol list 2021-04-08 17:57:33 +02:00
map-list-symbol.sh buildtools: fix build with busybox 2021-03-23 08:39:11 +01:00
meson.build build: fix build on FreeBSD with Meson 0.61.1 2022-03-08 16:37:22 +01:00
options-ibverbs-static.sh buildtools: get static mlx dependencies for meson 2020-02-14 12:42:13 +01:00
pmdinfogen.py buildtools: allow string constant padding 2021-06-17 18:44:30 +02:00
symlink-drivers-solibs.py build: support drivers symlink on Windows 2021-07-09 17:22:42 +02:00
symlink-drivers-solibs.sh build: fix ninja install on FreeBSD 2019-05-02 23:07:04 +02:00