diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2017-02-18 03:10:07 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-02-22 13:16:47 +0100 |
commit | b790d81e60e5e14037c6fb3ab32e4d980d353619 (patch) | |
tree | 4f151fdf39738c321c04fe99d769b0bc7e0e9a51 /meta-oe | |
parent | 02848f9707058ef96eaea06fd825892b9e16291f (diff) | |
download | meta-openembedded-b790d81e60e5e14037c6fb3ab32e4d980d353619.tar.gz |
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>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-support/lvm2/lvm2.inc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc index f69acdec38..7c4bbb98c6 100644 --- a/meta-oe/recipes-support/lvm2/lvm2.inc +++ b/meta-oe/recipes-support/lvm2/lvm2.inc @@ -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 |