lirc: use weak assignment in PACKAGECONFIG like other recipes
PATCH 1/1 lirc: use weak assignment in PACKAGECONFIG like other recipes
* using append makes it harder to disable PACKAGECONFIGs set from DISTRO_FEATURES
Signed-off-by Martin Jansa <[email protected]>
--- meta-oe/recipes-connectivity/lirc/lirc_0.9.2.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
meta-oe/recipes-connectivity/lirc/lirc_0.9.2.bb +4 -2
@@ -22,8 +22,10 @@ inherit autotools pkgconfig systemd pythonnative PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--without-systemdsystemunitdir,systemd" PACKAGECONFIG[x11] = "--with-x,--with-x=no,libx11," -PACKAGECONFIG_append = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', ' systemd', '', d)}" -PACKAGECONFIG_append = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' x11', '', d)}" +PACKAGECONFIG ?= " \ + ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', ' systemd', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' x11', '', d)} \ +" #EXTRA_OEMAKE = 'SUBDIRS="lib daemons tools"' do_install_append() {
Signature · 1 line
2.6.1