mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-08 07:38:10 +00:00
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>
This commit is contained in:
parent
d11715f087
commit
54628687fa
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
CC = gcc
|
CC = $(CROSS_COMPILE)gcc
|
||||||
CFLAGS = -Wall -g -D_GNU_SOURCE
|
CFLAGS += -Wall -g -D_GNU_SOURCE
|
||||||
|
|
||||||
all: iio_event_monitor lsiio generic_buffer
|
all: iio_event_monitor lsiio generic_buffer
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue