lvm2: Standardize how PACKAGECONFIG is defined

The change in 4071e6b4b0 broke support for redefining PACKAGECONFIG in
a bbappend without having to resort to use PACKAGECONFIG_class-target.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Peter Kjellerstedt
2017-02-18 03:10:07 +01:00
committed by Martin Jansa
parent 02848f9707
commit b790d81e60

View File

@@ -16,11 +16,14 @@ S = "${WORKDIR}/LVM2.${PV}"
inherit autotools-brokensep pkgconfig systemd
PACKAGECONFIG_class-target ??= " \
${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
thin-provisioning-tools \
LVM2_PACKAGECONFIG = ""
LVM2_PACKAGECONFIG_append_class-target = " \
${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
thin-provisioning-tools \
"
PACKAGECONFIG ??= "${LVM2_PACKAGECONFIG}"
# odirect is always enabled because there currently is a bug in
# lib/device/dev-io.c which prevents compiling without it. It is
# better to stick to configurations that were actually tested by