[OE-core] [PATCH v2] python3: make readline, gdbm, and db support conditional.

Burton, Ross ross.burton at intel.com
Wed Jun 7 14:10:20 UTC 2017


On 7 June 2017 at 14:49, Ismo Puustinen <ismo.puustinen at intel.com> wrote:

> +RRECOMMENDS_${PN}-core = "${@bb.utils.contains('PACKAGECONFIG',
> 'readline', '${PN}-readline', '', d)}"
>

Recommends can not exists, so I wouldn't bother with this complication.

+RDEPENDS_${PN}-modules_remove += "${@bb.utils.contains('PACKAGECONFIG',
> 'readline', '', '${PN}-readline', d)}"

(etc)

Don't use _remove and += as it's confusing.

But if for example readline is disabled, why would the package be created
in the first place?

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170607/bd9aca00/attachment-0002.html>


More information about the Openembedded-core mailing list