configure: Add uadk option

Add --enable-uadk and --disable-uadk options to enable and disable
UADK compression accelerator. This is for using UADK based hardware
accelerators for live migration.

Reviewed-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Reviewed-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
This commit is contained in:
Shameer Kolothum 2024-06-07 14:53:05 +01:00 committed by Fabiano Rosas
parent 3ae9bd9782
commit cfc589a89b
3 changed files with 19 additions and 0 deletions

View file

@ -221,6 +221,7 @@ meson_options_help() {
printf "%s\n" ' xkbcommon xkbcommon support'
printf "%s\n" ' zstd zstd compression support'
printf "%s\n" ' qpl Query Processing Library support'
printf "%s\n" ' uadk UADK Library support'
}
_meson_option_parse() {
case $1 in
@ -561,6 +562,8 @@ _meson_option_parse() {
--disable-zstd) printf "%s" -Dzstd=disabled ;;
--enable-qpl) printf "%s" -Dqpl=enabled ;;
--disable-qpl) printf "%s" -Dqpl=disabled ;;
--enable-uadk) printf "%s" -Duadk=enabled ;;
--disable-uadk) printf "%s" -Duadk=disabled ;;
*) return 1 ;;
esac
}