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 <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa 2015-10-13 17:38:38 +02:00
parent 82c66f0957
commit 4821df058d

View File

@ -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() {