[OE-core] [PATCHv2 1/2] trace-cmd/kernelshark: update to 2.3.2 release (latest stable branch)

Chris Larson clarson at kergoth.com
Wed Apr 9 15:02:14 UTC 2014


On Tue, Apr 8, 2014 at 10:16 AM, Fathi Boudra <fathi.boudra at linaro.org>wrote:

> On 8 April 2014 20:05, Khem Raj <raj.khem at gmail.com> wrote:
> > On Tue, Apr 8, 2014 at 7:00 AM, Fathi Boudra <fathi.boudra at linaro.org>
> wrote:
> >>  do_install() {
> >> -       oe_runmake prefix="${prefix}" DESTDIR="${D}" install
> >> +       ${MAKE} NO_PYTHON=1 prefix=${prefix}
> plugin_dir=${libdir}/trace-cmd/plugins DESTDIR=${D} install
> >>  }
> >
> > can you explain/document this change
>
> sure. trace-cmd doesn't have a build system generated Makefile. It's
> hand written.
> To do the install properly, one has to pass prefix/plugin_dir.
> In addition, the previous command in the recipe doesn't do the right
> thing anymore (you'll end with duplicated prefix /usr/usr/).


You don't need to avoid the use of oe_runmake to pass variables in, that's
what EXTRA_OEMAKE is for :) See
https://github.com/MentorEmbedded/meta-mentor/commit/4639877 for a version
of this fix that uses it instead.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140409/6c7a77ba/attachment-0002.html>


More information about the Openembedded-core mailing list