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:

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 <[email protected]>
---
 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
[email protected]

Reply via email to