[Buildroot] [PATCH 1/1] trace-cmd: use pkg-config instead of python-config
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Oct 15 07:30:03 UTC 2013
Dear Romain Naour,
On Tue, 15 Oct 2013 00:39:31 +0200, Romain Naour wrote:
> > No, Python support is optional in trace-cmd. We should keep optional,
> > by doing:
> >
> > ifeq ($(BR2_PACKAGE_PYTHON),)
> > TRACE_CMD_MAKE_FLAGS += -NO_PYTHON=1
> > else
> > TRACE_CMD_DEPENDENCIES += python
> > endif
>
> What about python3 ?
> But python 2.7 seems to be good enough.
Enabling it against Python3 would be good indeed.
> > Python dependency should be optional. The pkg-config dependency should
> > be on host-pkg-config.
>
> host-pkgconf ?
Correct, my bad. It used to be host-pkg-config a while ago, and since
the binary name is still pkg-config, I've never managed to remember the
package name is now pkgconf.
> > http://patchwork.ozlabs.org/patch/279267/
> > http://patchwork.ozlabs.org/patch/279265/
> > http://patchwork.ozlabs.org/patch/279269/
> >
>
> I see that, my patch is a workaround and don't fix the real problem.
> But we can decide to not use python-config for cross-compilation.
>
> May I reuse your patch comments for v2 ?
Of course, please do.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list