On Fri, Mar 16, 2018 at 5:57 AM, Otavio Salvador <ota...@ossystems.com.br> wrote: > To use 'glide' this class does the integration and reduces code > duplication. > > Signed-off-by: Otavio Salvador <ota...@ossystems.com.br> > --- > > meta/classes/glide.bbclass | 9 +++++++++ > 1 file changed, 9 insertions(+) > create mode 100644 meta/classes/glide.bbclass > > diff --git a/meta/classes/glide.bbclass b/meta/classes/glide.bbclass > new file mode 100644 > index 00000000000..52291bab8cf > --- /dev/null > +++ b/meta/classes/glide.bbclass > @@ -0,0 +1,9 @@ > +# Handle Glide Vendor Package Management use > +# > +# Copyright 2018 (C) O.S. Systems Software LTDA. > + > +DEPENDS_append = " glide-native" > + > +do_compile_prepend() { > + ( cd ${WORKDIR}/build/src/${GO_IMPORT} && glide install ) ^^^^^^^^^^^^^^^^^ Any reason why you aren't just using ${B} here instead?
-Matt > +} > -- > 2.16.2 > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core