mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] trace-cmd: add missing host-swig dependency
Date: Mon, 27 Apr 2015 10:56:28 +0200	[thread overview]
Message-ID: <20150427085628.GE28533@pengutronix.de> (raw)
In-Reply-To: <1429516125-20448-1-git-send-email-alex.aring@gmail.com>

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.aring@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	other threads:[~2015-04-27  8:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-20  7:48 Alexander Aring
2015-04-27  8:56 ` Michael Olbrich [this message]
2015-04-27  9:23   ` Alexander Aring
2015-04-27  9:54     ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150427085628.GE28533@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox