[OE-core] [PATCH 6/7] avahi: make dbus optional but default
Jens Rehsack
rehsack at gmail.com
Mon Feb 29 08:00:30 UTC 2016
> Am 29.02.2016 um 00:24 schrieb Burton, Ross <ross.burton at intel.com>:
>
> On 28 February 2016 at 11:39, Jens Rehsack <rehsack at gmail.com> wrote:
> +PACKAGECONFIG[dbus] = ",--disable-dbus,dbus"
>
> Add --enable-dbus for clarity, please.
This switch isn't documented in configure help. I try it out, but when it complains, I leave it out.
> - rm -rf ${D}${datadir}/dbus-1/interfaces
> - rmdir --ignore-fail-on-non-empty ${D}${datadir}/dbus-1
> + ${@bb.utils.contains('PACKAGECONFIG','dbus','rm -rf ${D}${datadir}/dbus-1/interfaces','',d)}
> + ${@bb.utils.contains('PACKAGECONFIG','dbus','rmdir --ignore-fail-on-non-empty ${D}${datadir}/dbus-1','',d)}
>
> The interfaces files should probably be installed in avahi-dev as they're genuinely useful, and then I think the rmdir --ignore-fail-on-non-empty can always be executed.
Especially that one fails when no dbus support is added. So, nope - it should not always executed.
Cheers
--
Jens Rehsack - rehsack at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160229/edf32a33/attachment-0002.sig>
More information about the Openembedded-core
mailing list