iio: Move iio userspace applications out of staging
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>
Thu, 26 Feb 2015 08:49:25 +0000 (10:49 +0200)
committerJonathan Cameron <jic23@kernel.org>
Mon, 9 Mar 2015 17:16:08 +0000 (17:16 +0000)
This patch moves iio userspace applications out of staging, to tools/iio/
and adds a Makefile in order to compile them easily. It also adds tools/iio/
to MAINTAINERS file.

Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
MAINTAINERS
tools/iio/Makefile [new file with mode: 0644]
tools/iio/generic_buffer.c [moved from drivers/staging/iio/Documentation/generic_buffer.c with 100% similarity]
tools/iio/iio_event_monitor.c [moved from drivers/staging/iio/Documentation/iio_event_monitor.c with 100% similarity]
tools/iio/iio_utils.c [moved from drivers/staging/iio/Documentation/iio_utils.c with 100% similarity]
tools/iio/iio_utils.h [moved from drivers/staging/iio/Documentation/iio_utils.h with 100% similarity]
tools/iio/lsiio.c [moved from drivers/staging/iio/Documentation/lsiio.c with 100% similarity]

index 873f496..6fb6bdc 100644 (file)
@@ -4871,6 +4871,7 @@ S:        Maintained
 F:     drivers/iio/
 F:     drivers/staging/iio/
 F:     include/linux/iio/
+F:     tools/iio/
 
 IKANOS/ADI EAGLE ADSL USB DRIVER
 M:     Matthieu Castet <castet.matthieu@free.fr>
diff --git a/tools/iio/Makefile b/tools/iio/Makefile
new file mode 100644 (file)
index 0000000..83813ad
--- /dev/null
@@ -0,0 +1,16 @@
+CC = gcc
+CFLAGS = -Wall -g
+
+all: iio_event_monitor lsiio generic_buffer
+
+iio_event_monitor: iio_event_monitor.o iio_utils.o
+
+lsiio: lsiio.o iio_utils.o
+
+generic_buffer: generic_buffer.o iio_utils.o
+
+%.o: %.c iio_utils.h
+
+.PHONY: clean
+clean:
+       rm -f *.o iio_event_monitor lsiio generic_buffer