Skip to contentSkip to conversation

prevent building/installation of various utilities

RFC PATCH In review Daniel Mierswa 1 participant 2 messages Feb 1, 2011 – Feb 6, 2011 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 prevent building/installation of various utilities

Heya, I wanted to provide a patch to have the ability to _not_ build and install various tools even if the requirements are met.

Signature · 5 lines
Mierswa, Daniel

If you still don't like it, that's ok: that's why I'm boss. I simply
know better than you do.
               --- Linus Torvalds, comp.os.linux.advocacy, 1996/07/22
Quoted 1 line

From 9e0771185011dedd3969dd084f0e2b9a2b23da27 Mon Sep 17 00:00:00 2001

From: Daniel Mierswa <[email protected]>
Date: Tue, 1 Feb 2011 05:38:55 +0100
Subject: [PATCH] make compilation/installation of some utils configurable

---
 utils/Makefile |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
utils/Makefile +4 -0
index bcce0fe..25ff7c3 100644
@@ -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 $@
Signature · 1 line
1.7.3.5
#1 lore raw
Quoted 2 lines · Daniel Mierswa

Heya, I wanted to provide a patch to have the ability to _not_ build and install various tools even if the requirements are met.

any comments on this? seems rather trivial to decide if it's good to go or not :D
wrong mailinglist or recipient perhaps?

Signature · 5 lines
Mierswa, Daniel

If you still don't like it, that's ok: that's why I'm boss. I simply
know better than you do.
               --- Linus Torvalds, comp.os.linux.advocacy, 1996/07/22