On Fri, 2011-12-02 at 17:22 +0100, Martin Jansa wrote: > Signed-off-by: Martin Jansa <martin.ja...@gmail.com> > --- > meta/conf/bitbake.conf | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf > index 87efd8e..552942b 100644 > --- a/meta/conf/bitbake.conf > +++ b/meta/conf/bitbake.conf > @@ -166,6 +166,7 @@ ASSUME_PROVIDED = "\ > PN = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[0] or > 'defaultpkgname'}" > PV = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[1] or '1.0'}" > PR = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[2] or 'r0'}" > +PRINC := "0" > PF = "${PN}-${EXTENDPE}${PV}-${PR}" > EXTENDPE = "${@['','${PE\x7d_'][d.getVar('PE',1) > 0]}" > P = "${PN}-${PV}"
Why does this need := ? (it doesn't) Also, can you change the expression in base.bbclass from: princ = d.getVar('PRINC', True) if princ: to: if princ and princ != "0": since otherwise I think this will have rather a negative effect on parsing speed. Cheers, Richard _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core