On Tue, Sep 30, 2014 at 07:25:04PM +0500, Noor, Ahsan wrote: > From: Noor <[email protected]> > > * gtk+ and libglade is required to have graphical version of sysprof. > Created x11 packageconfig and added these two packages in that config > and removed from DEPENDS. > > Signed-off-by: Noor Ahsan <[email protected]> > --- > meta/recipes-kernel/sysprof/sysprof_git.bb | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/meta/recipes-kernel/sysprof/sysprof_git.bb > b/meta/recipes-kernel/sysprof/sysprof_git.bb > index ef1e270..d3fb97a 100644 > --- a/meta/recipes-kernel/sysprof/sysprof_git.bb > +++ b/meta/recipes-kernel/sysprof/sysprof_git.bb > @@ -2,8 +2,6 @@ SUMMARY = "System-wide Performance Profiler for Linux" > LICENSE = "GPLv2" > LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" > > -DEPENDS = "gtk+ libglade" > - > SRCREV = "cd44ee6644c3641507fb53b8a2a69137f2971219" > PV = "1.2.0+git${SRCPV}" > > @@ -18,3 +16,8 @@ SRC_URI_append_mips64 = " file://rmb-mips.patch" > S = "${WORKDIR}/git" > > inherit autotools pkgconfig > + > +PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', > d)}" > + > +PACKAGECONFIG[x11] = ",,gtk+ libglade"
Is this deterministic? I don't think so, You need to add option to explicitly disable it even when gtk+ and libglade get built because of some other recipe (or user just having them in sysroot from earlier builds). > + > -- > 1.7.9.5 > > -- > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- Martin 'JaMa' Jansa jabber: [email protected]
signature.asc
Description: Digital signature
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
