--- ./Makefile.orig 2011-02-09 23:04:27.000000000 +0100 +++ ./Makefile 2011-06-03 19:08:13.000000000 +0200 @@ -1,4 +1,5 @@ -SUBDIRS=libv4l2util decode_tm6000 keytable rds v4l2-compliance v4l2-ctl v4l2-dbg xc3028-firmware +#SUBDIRS=libv4l2util decode_tm6000 keytable rds v4l2-compliance v4l2-ctl v4l2-dbg xc3028-firmware +SUBDIRS=libv4l2util decode_tm6000 keytable v4l2-compliance v4l2-ctl v4l2-dbg all install: @for i in $(SUBDIRS); do \ @@ -10,6 +11,7 @@ $(MAKE) -C v4l2-sysfs-path $@; \ fi +ifdef WITH_QV4L2 # Test whether qmake is installed, and whether it is for qt4. @if which qmake-qt4 >/dev/null 2>&1; then \ QMAKE=qmake-qt4; \ @@ -24,6 +26,7 @@ $(MAKE) -C qv4l2 -f Makefile.install $@; \ fi \ fi +endif sync-with-kernel: $(MAKE) -C keytable $@