diff --git a/app/meson.build b/app/meson.build index 8aaed59f39e..21b6da29b3f 100644 --- a/app/meson.build +++ b/app/meson.build @@ -93,7 +93,7 @@ foreach app:apps if not build if reason != '' dpdk_apps_disabled += app - set_variable(app.underscorify() + '_disable_reason', reason) + set_variable('app_' + app.underscorify() + '_disable_reason', reason) endif continue endif diff --git a/drivers/common/qat/meson.build b/drivers/common/qat/meson.build index 5c36fbb270d..62abcb6fe33 100644 --- a/drivers/common/qat/meson.build +++ b/drivers/common/qat/meson.build @@ -17,13 +17,13 @@ qat_compress_relpath = '../../' + qat_compress_path if disable_drivers.contains(qat_crypto_path) qat_crypto = false dpdk_drvs_disabled += qat_crypto_path - set_variable(qat_crypto_path.underscorify() + '_disable_reason', + set_variable('drv_' + qat_crypto_path.underscorify() + '_disable_reason', 'Explicitly disabled via build config') endif if disable_drivers.contains(qat_compress_path) qat_compress = false dpdk_drvs_disabled += qat_compress_path - set_variable(qat_compress_path.underscorify() + '_disable_reason', + set_variable('drv_' + qat_compress_path.underscorify() + '_disable_reason', 'Explicitly disabled via build config') endif @@ -36,7 +36,7 @@ if arch_subdir == 'arm' else qat_crypto = false dpdk_drvs_disabled += qat_crypto_path - set_variable(qat_crypto_path.underscorify() + '_disable_reason', + set_variable('drv_' + qat_crypto_path.underscorify() + '_disable_reason', 'missing dependency for Arm, libcrypto') endif else @@ -57,7 +57,7 @@ else else qat_crypto = false dpdk_drvs_disabled += qat_crypto_path - set_variable(qat_crypto_path.underscorify() + '_disable_reason', + set_variable('drv_' + qat_crypto_path.underscorify() + '_disable_reason', 'missing dependency, libipsecmb or libcrypto') endif elif libcrypto.found() @@ -66,7 +66,7 @@ else else qat_crypto = false dpdk_drvs_disabled += qat_crypto_path - set_variable(qat_crypto_path.underscorify() + '_disable_reason', + set_variable('drv_' + qat_crypto_path.underscorify() + '_disable_reason', 'missing dependency, libipsecmb or libcrypto') endif endif diff --git a/drivers/meson.build b/drivers/meson.build index 5ba534049af..f2be71bc05e 100644 --- a/drivers/meson.build +++ b/drivers/meson.build @@ -93,7 +93,7 @@ foreach subpath:subdirs if skip_class drv_path = join_paths(class, '*') dpdk_drvs_disabled += drv_path - set_variable(drv_path.underscorify() + '_disable_reason', reason) + set_variable('drv_' + drv_path.underscorify() + '_disable_reason', reason) continue endif endif @@ -199,7 +199,7 @@ foreach subpath:subdirs # component disable printout in those cases if reason != '' dpdk_drvs_disabled += drv_path - set_variable(drv_path.underscorify() + '_disable_reason', reason) + set_variable('drv_' + drv_path.underscorify() + '_disable_reason', reason) endif continue endif diff --git a/lib/meson.build b/lib/meson.build index 6c143ce5a60..55d483cd26f 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -228,7 +228,7 @@ foreach l:libraries if not build dpdk_libs_disabled += name - set_variable(name.underscorify() + '_disable_reason', reason) + set_variable('lib_' + name.underscorify() + '_disable_reason', reason) continue endif diff --git a/meson.build b/meson.build index 5e161f43e58..8b248d45050 100644 --- a/meson.build +++ b/meson.build @@ -164,17 +164,17 @@ message(output_message + '\n') output_message = '\n=================\nContent Skipped\n=================\n' output_message += '\napps:\n\t' foreach app:dpdk_apps_disabled - reason = get_variable(app.underscorify() + '_disable_reason') + reason = get_variable('app_' + app.underscorify() + '_disable_reason') output_message += app + ':\t' + reason + '\n\t' endforeach output_message += '\nlibs:\n\t' foreach lib:dpdk_libs_disabled - reason = get_variable(lib.underscorify() + '_disable_reason') + reason = get_variable('lib_' + lib.underscorify() + '_disable_reason') output_message += lib + ':\t' + reason + '\n\t' endforeach output_message += '\ndrivers:\n\t' foreach drv:dpdk_drvs_disabled - reason = get_variable(drv.underscorify() + '_disable_reason') + reason = get_variable('drv_' + drv.underscorify() + '_disable_reason') output_message += drv + ':\t' + reason + '\n\t' endforeach message(output_message + '\n')