trace-cmd: Use pkg-config instead of python-config
trace-cmd: Use pkg-config instead of python-config

trace-cmd uses python-config to find out which headers
and libraries should be used to link against the Python libraries.
By default, python-config returns paths that are inappropriate for
cross-compilation.

Add PYTHON_VERS to build trace-cmd with python2 or python3

Link: http://lkml.kernel.org/r/1383241182-11162-1-git-send-email-48b9fcabb497dca2879ac6d9e447e6704661c558@openwide.fr

Acked-by: Johannes Berg <bff32994ff0f8d048f262a8388145a71b6071bfe@intel.com>
Signed-off-by: Romain Naour <48b9fcabb497dca2879ac6d9e447e6704661c558@openwide.fr>
Signed-off-by: Steven Rostedt <43232e92d70cc7aa53504ad0397085ee47bad87f@goodmis.org>

bigzz/trace-cmd,bigzz/trace-cmd