[OE-core] [PATCHv2 1/2] trace-cmd/kernelshark: update to 2.3.2 release (latest stable branch)
Fathi Boudra
fathi.boudra at linaro.org
Tue Apr 8 17:16:22 UTC 2014
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/).
I've included NO_PYTHON since the build system is still broken for
cross-compilation in some way.
I found it acceptable because the old version available in oe doesn't
have this support anyway.
In short, I took some shortcut. The right thing to do is to revisit
upstream build system and fix it. Time that I can't afford right now.
More information about the Openembedded-core
mailing list