For each library where we optionally disable it, add in the reason why it's being disabled, so the user knows how to fix it.
Signed-off-by: Bruce Richardson <bruce.richard...@intel.com> --- lib/librte_kni/meson.build | 1 + lib/librte_power/meson.build | 1 + lib/librte_telemetry/meson.build | 1 + lib/librte_vhost/meson.build | 1 + 4 files changed, 4 insertions(+) diff --git a/lib/librte_kni/meson.build b/lib/librte_kni/meson.build index 400af9a4d..41fa2e39b 100644 --- a/lib/librte_kni/meson.build +++ b/lib/librte_kni/meson.build @@ -3,6 +3,7 @@ if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false + reason = 'only supported on 64-bit linux' endif version = 2 sources = files('rte_kni.c') diff --git a/lib/librte_power/meson.build b/lib/librte_power/meson.build index cc6c30075..cdf08f6df 100644 --- a/lib/librte_power/meson.build +++ b/lib/librte_power/meson.build @@ -3,6 +3,7 @@ if not is_linux build = false + reason = 'only supported on linux' endif sources = files('rte_power.c', 'power_acpi_cpufreq.c', 'power_kvm_vm.c', 'guest_channel.c', diff --git a/lib/librte_telemetry/meson.build b/lib/librte_telemetry/meson.build index cafb26f08..3e7db4f19 100644 --- a/lib/librte_telemetry/meson.build +++ b/lib/librte_telemetry/meson.build @@ -12,4 +12,5 @@ if jansson.found() dpdk_app_link_libraries += ['telemetry'] else build = false + reason = 'missing dependency "jansson"' endif diff --git a/lib/librte_vhost/meson.build b/lib/librte_vhost/meson.build index 3090bbe08..cb1123ae3 100644 --- a/lib/librte_vhost/meson.build +++ b/lib/librte_vhost/meson.build @@ -3,6 +3,7 @@ if not is_linux build = false + reason = 'only supported on linux' endif if has_libnuma == 1 dpdk_conf.set10('RTE_LIBRTE_VHOST_NUMA', true) -- 2.21.0