Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iio: make tools more cross-compilation friendly

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>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

authored by

Linus Walleij and committed by
Jonathan Cameron
54628687 d11715f0

+2 -2
+2 -2
tools/iio/Makefile
··· 1 - CC = gcc 2 - CFLAGS = -Wall -g -D_GNU_SOURCE 1 + CC = $(CROSS_COMPILE)gcc 2 + CFLAGS += -Wall -g -D_GNU_SOURCE 3 3 4 4 all: iio_event_monitor lsiio generic_buffer 5 5