On 7 June 2017 at 14:49, Ismo Puustinen <[email protected]> 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
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core