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 <info@metux.net>
This commit is contained in:
parent
99992bc2f6
commit
f5d4657d0d
|
@ -295,6 +295,12 @@ else
|
||||||
endif
|
endif
|
||||||
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
|
if build_udev and build_hal
|
||||||
error('Hotplugging through both libudev and hal not allowed')
|
error('Hotplugging through both libudev and hal not allowed')
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue