numam-dpdk/buildtools
Juraj Linkeš 2e33309ebe config: enable/disable drivers in Arm builds
Add support for enabling or disabling drivers for Arm cross build. Do
not implement any enable/disable lists yet.

Enabling drivers is useful when building for an SoC where we only want
to build a few drivers. That way the list won't be too long.

Similarly, disabling drivers is useful when we want to disable only a
few drivers.

Both of these are advantageous mainly in aarch64 -> aarch64 (or arch ->
same arch) builds, where the build machine may have the required driver
dependencies, yet we don't want to build drivers for a specific SoC.

If enable_drivers is a non-empty list, build only those drivers,
otherwise build all drivers and add them to enable_drivers.  If
disable_drivers is non-empty list, build all drivers specified in
enable_drivers except those in disable_drivers.

There are two drivers, bus/pci and bus/vdev, which break the build if
not enabled. Address this by always enabling these if the user disables
them or doesn't specify in their allowlist.

Also remove the old Makefile arm configuration options which don't do
anything in Meson.

Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2021-04-15 22:34:37 +02:00
..
chkincs mbuf: remove unneeded atomic generic header include 2021-02-05 19:49:32 +01:00
pkg-config build: fix linker flags on Windows 2021-01-13 22:13:37 +01:00
binutils-avx512-check.sh buildtools: fix build with busybox 2021-03-23 08:39:11 +01:00
call-sphinx-build.py doc: make sphinx comply with meson werror option 2020-10-05 23:52:02 +02:00
check-symbols.sh buildtools: fix build with busybox 2021-03-23 08:39:11 +01:00
coff.py buildtools: support COFF in pmdinfogen 2021-01-25 23:23:48 +01:00
gen-pmdinfo-cfile.py buildtools: fix archive extraction for LLVM 8 2021-01-28 22:48:29 +01:00
list-dir-globs.py config: enable/disable drivers in Arm builds 2021-04-15 22:34:37 +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 buildtools: use build directory for temporary files 2021-01-26 00:41:08 +01:00
options-ibverbs-static.sh buildtools: get static mlx dependencies for meson 2020-02-14 12:42:13 +01:00
pmdinfogen.py buildtools: fix pmdinfogen with pyelftools < 0.24 2021-01-26 00:39:34 +01:00
symlink-drivers-solibs.sh build: fix ninja install on FreeBSD 2019-05-02 23:07:04 +02:00