All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Baluta <daniel.baluta@intel.com>
To: Linus Walleij <linus.walleij@linaro.org>,
	Jonathan Cameron <jic23@kernel.org>,
	linux-iio@vger.kernel.org
Cc: Hartmut Knaack <knaack.h@gmx.de>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Peter Meerwald <pmeerw@pmeerw.net>,
	Denis CIOCCA <denis.ciocca@st.com>,
	Lee Jones <lee.jones@linaro.org>
Subject: Re: [PATCH] iio: make tools more cross-compilation friendly
Date: Tue, 05 May 2015 13:43:19 +0300	[thread overview]
Message-ID: <55489EC7.7070301@intel.com> (raw)
In-Reply-To: <1430815332-26812-1-git-send-email-linus.walleij@linaro.org>



On 05/05/2015 11:42 AM, Linus Walleij wrote:
> When cross-compiling the IIO tools we need to opportunity to
> specify a cross compiler prefix and some extra CFLAGS. This
> patch enables this in the same way as for other stuff in
> tools.
>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Acked-by: Daniel Baluta <daniel.baluta@intel.com>

> ---
>   tools/iio/Makefile | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/iio/Makefile b/tools/iio/Makefile
> index bf7ae6d6612a..3a7a54f59713 100644
> --- a/tools/iio/Makefile
> +++ b/tools/iio/Makefile
> @@ -1,5 +1,5 @@
> -CC = gcc
> -CFLAGS = -Wall -g -D_GNU_SOURCE
> +CC = $(CROSS_COMPILE)gcc
> +CFLAGS += -Wall -g -D_GNU_SOURCE
>
>   all: iio_event_monitor lsiio generic_buffer
>
>

  reply	other threads:[~2015-05-05 10:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-05  8:42 [PATCH] iio: make tools more cross-compilation friendly Linus Walleij
2015-05-05 10:43 ` Daniel Baluta [this message]
2015-05-08 14:50   ` Jonathan Cameron

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=55489EC7.7070301@intel.com \
    --to=daniel.baluta@intel.com \
    --cc=denis.ciocca@st.com \
    --cc=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=lee.jones@linaro.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=pmeerw@pmeerw.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.