From f5d4657d0d1b84bb353f098d7a02968f1cf282a4 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 17 Jun 2025 11:57:41 +0200 Subject: [PATCH] meson.build: add deprecation warning on HAL When HAL is enabled, print out a warning that it's deprecated and might be removed soon. Signed-off-by: Enrico Weigelt, metux IT consult --- meson.build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meson.build b/meson.build index faf153cfe..ce694e622 100644 --- a/meson.build +++ b/meson.build @@ -295,6 +295,12 @@ else endif endif +if build_hal + message('WARNING: HAL is deprecated and might be removed in near future') + message('If you really need it, please file a feature request on keeping it') + message('and explain why you need it, what your use case is.') +endif + if build_udev and build_hal error('Hotplugging through both libudev and hal not allowed') endif