xen: make LZO dependency optional

xen-tools has an optional dependency on LZO.  As this is a unmaintained
compression format with better alternatives (such as Zstd), disable it
by default.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Ross Burton 2022-05-25 12:25:12 +01:00 committed by Bruce Ashfield
parent d9189db0aa
commit 55bf71938e

View File

@ -11,6 +11,7 @@ PACKAGECONFIG ??= " \
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
" "
PACKAGECONFIG[lzo] = ",,lzo"
PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,virtual/libsdl," PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,virtual/libsdl,"
PACKAGECONFIG[xsm] = "--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native," PACKAGECONFIG[xsm] = "--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native,"
PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd," PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd,"
@ -41,7 +42,6 @@ DEPENDS = " \
procps \ procps \
python3 \ python3 \
libaio \ libaio \
lzo \
util-linux \ util-linux \
xz \ xz \
yajl \ yajl \