On Wed, 2020-03-11 at 07:55 +0000, Nicola Lunghi wrote: > smem doesn't need matplotlib and numpy to run, is an optional dependency only > needed to produce graphs.
Right, that's why it's an RRECOMMENDS. If you don't want it in the image, just do BAD_RECOMMENDATIONS as per usual practice :-) Cheers, Andre' > This is needed to avoid to include and build matplotlib and numpy by default > > Signed-off-by: Nicola Lunghi <nick83...@gmail.com> > --- > meta-oe/recipes-support/smem/smem_1.5.bb | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/meta-oe/recipes-support/smem/smem_1.5.bb > b/meta-oe/recipes-support/smem/smem_1.5.bb > index 90db9c3f3..446325e93 100644 > --- a/meta-oe/recipes-support/smem/smem_1.5.bb > +++ b/meta-oe/recipes-support/smem/smem_1.5.bb > @@ -20,6 +20,9 @@ UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" > > S = "${WORKDIR}/${BPN}-${HG_CHANGESET}" > > +#PACKAGECONFIG ?= "graph" > +PACKAGECONFIG[graph] = ",,,python3-matplotlib python3-numpy" > + > do_compile() { > ${CC} ${CFLAGS} ${LDFLAGS} smemcap.c -o smemcap > } > @@ -34,7 +37,6 @@ do_install() { > } > > RDEPENDS_${PN} = "python3-core python3-compression" > -RRECOMMENDS_${PN} = "python3-matplotlib python3-numpy" > > PACKAGE_BEFORE_PN = "smemcap" > > -- > 2.20.1 > -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel