diff mbox

[RFC] prevent building/installation of various utilities

Message ID 4D47A209.4060805@impulze.org (mailing list archive)
State Not Applicable
Headers show

Commit Message

Daniel Mierswa Feb. 1, 2011, 6:02 a.m. UTC
None
diff mbox

Patch

diff --git a/utils/Makefile b/utils/Makefile
index bcce0fe..25ff7c3 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -5,11 +5,14 @@  all install:
 		$(MAKE) -C $$i $@ || exit 1; \
 	done
 
+ifneq ($(USE_SYSFS_PATH),no)
 	# Test if libsysfs is installed
 	@-if [ -f /usr/include/sysfs/libsysfs.h ]; then \
 		$(MAKE) -C v4l2-sysfs-path $@; \
 	fi
+endif
 
+ifneq ($(USE_QV4L2),no)
 	# 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 +27,7 @@  all install:
 			$(MAKE) -C qv4l2 -f Makefile.install $@; \
 		fi \
 	fi
+endif
 
 sync-with-kernel:
 	$(MAKE) -C keytable $@