On Mon, Apr 20, 2015 at 09:48:45AM +0200, Alexander Aring wrote:
> This patch adds a missing host-swig dependency which is needed by
> trace-cmd to generate some python bindings. Without host-swig I get the
> following compile error:

I've changed this to just select HOST_SWIG. The others should not be
necessary. Can you confirm that it still works? Maybe you didn't run
'oldconfig'?

Michael

> LD PLUGIN           plugin_sched_switch.so
>   BUILD PLUGIN           plugin_mac80211.so
>   BUILD PLUGIN           plugin_function.so
> swig -Wall -python -noproxy ctracecmd.i
>   BUILD PLUGIN           plugin_jbd2.so
> make[1]: swig: Command not found
> Makefile:581: recipe for target 'ctracecmd.so' failed
> make[1]: *** [ctracecmd.so] Error 127
> make[1]: *** Waiting for unfinished jobs....
> 
> Signed-off-by: Alexander Aring <alex.ar...@gmail.com>
> ---
>  rules/trace-cmd.in | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/rules/trace-cmd.in b/rules/trace-cmd.in
> index 5c1d37a..d06fe25 100644
> --- a/rules/trace-cmd.in
> +++ b/rules/trace-cmd.in
> @@ -5,6 +5,10 @@ config TRACE_CMD
>       prompt "trace-cmd"
>       select LIBC_DL
>       select GCCLIBS_GCC_S
> +     select HOST_SWIG
> +     select HOST_ZLIB
> +     select HOST_LIBPCRE
> +     select HOST_PYTHON
>       help
>         The trace-cmd command interacts with the Ftrace tracer that
>         is built inside the Linux kernel. It interfaces with the
> -- 
> 2.3.5
> 
> 
> -- 
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to