summaryrefslogtreecommitdiff
path: root/v4l2-apps/util/Makefile
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-08-31 11:56:53 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-08-31 11:56:53 +0200
commitc2f1ea5404c5e4da29139c10c06ca0f61c9069f8 (patch)
tree2d07379b84e0ebd40bffb41ae49f8cd2182033af /v4l2-apps/util/Makefile
parentb08545429d441e5187c8c53ccc956a5eba7876cd (diff)
downloadmediapointer-dvb-s2-c2f1ea5404c5e4da29139c10c06ca0f61c9069f8.tar.gz
mediapointer-dvb-s2-c2f1ea5404c5e4da29139c10c06ca0f61c9069f8.tar.bz2
v4l2-dbg: merge v4l-board-dbg into v4l2-dbg
From: Hans Verkuil <hverkuil@xs4all.nl> There is no point in having multiple debug utilities that do the same thing, so merge the functionality of v4l-board-dbg into v4l2-dbg. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'v4l2-apps/util/Makefile')
-rw-r--r--v4l2-apps/util/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/v4l2-apps/util/Makefile b/v4l2-apps/util/Makefile
index bfd5a72b8..1d562f9e7 100644
--- a/v4l2-apps/util/Makefile
+++ b/v4l2-apps/util/Makefile
@@ -7,7 +7,7 @@ endif
CPPFLAGS += -I../include -D_GNU_SOURCE
LDFLAGS += -lm
-binaries = v4l2-ctl v4l2-dbg ivtv-ctl cx18-ctl v4l-board-dbg
+binaries = v4l2-ctl v4l2-dbg ivtv-ctl cx18-ctl
ifeq ($(prefix),)
prefix = /usr
@@ -32,6 +32,8 @@ qv4l2:
v4l2-dbg: v4l2-dbg.o v4l2-driverids.o v4l2-chipids.o
$(CXX) $^ -o $@
+v4l2-dbg.o: v4l2-dbg.h v4l2-dbg-bttv.h v4l2-dbg-em28xx.h v4l2-dbg-saa7134.h
+
install:
mkdir -p $(prefix)/bin
cp $(binaries) $(prefix)/bin
@@ -57,8 +59,6 @@ keytables:
keytable: keytable.c parse.h keytables
-v4l-board-dbg: v4l-board-dbg.c bttv-dbg.h saa7134-dbg.h em28xx-dbg.h
-
v4l2-driverids.cpp: ../include/linux/i2c-id.h
@echo "struct driverid { const char *name; unsigned id; } driverids[] = {" >$@
@grep I2C_DRIVERID_ $^ | sed -e 's/.*I2C_DRIVERID_\([0-9A-Z_]*\)[^0-9]*\([0-9]*\).*/{ "\1", \2 },/' | tr A-Z a-z >>$@