Commit 5d48d6b0 authored by Daniel Baluta's avatar Daniel Baluta Committed by Jonathan Cameron

tools: iio: Rename generic_buffer to iio_generic_buffer

This makes it clear that generic_buffer is an IIO tool
and also complies with filename conventions in tools/iio.
Signed-off-by: default avatarDaniel Baluta <daniel.baluta@intel.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 0c4b6500
......@@ -5,13 +5,13 @@ BINDIR=usr/bin
INSTALL_PROGRAM=install -m 755 -p
DEL_FILE=rm -f
all: iio_event_monitor lsiio generic_buffer
all: iio_event_monitor lsiio iio_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
iio_generic_buffer: iio_generic_buffer.o iio_utils.o
%.o: %.c iio_utils.h
......@@ -19,13 +19,13 @@ install:
- mkdir -p $(INSTALL_ROOT)/$(BINDIR)
- $(INSTALL_PROGRAM) "iio_event_monitor" "$(INSTALL_ROOT)/$(BINDIR)/iio_event_monitor"
- $(INSTALL_PROGRAM) "lsiio" "$(INSTALL_ROOT)/$(BINDIR)/lsiio"
- $(INSTALL_PROGRAM) "generic_buffer" "$(INSTALL_ROOT)/$(BINDIR)/generic_buffer"
- $(INSTALL_PROGRAM) "iio_generic_buffer" "$(INSTALL_ROOT)/$(BINDIR)/iio_generic_buffer"
uninstall:
$(DEL_FILE) "$(INSTALL_ROOT)/$(BINDIR)/iio_event_monitor"
$(DEL_FILE) "$(INSTALL_ROOT)/$(BINDIR)/lsiio"
$(DEL_FILE) "$(INSTALL_ROOT)/$(BINDIR)/generic_buffer"
$(DEL_FILE) "$(INSTALL_ROOT)/$(BINDIR)/iio_generic_buffer"
.PHONY: clean
clean:
rm -f *.o iio_event_monitor lsiio generic_buffer
rm -f *.o iio_event_monitor lsiio iio_generic_buffer
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment