From patchwork Tue Feb 1 06:02:49 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Mierswa X-Patchwork-Id: 521971 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p116A6PG011707 for ; Tue, 1 Feb 2011 06:14:14 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751132Ab1BAGLn (ORCPT ); Tue, 1 Feb 2011 01:11:43 -0500 Received: from eta-ori.net ([46.4.55.213]:59868 "EHLO orion.eta-ori.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750708Ab1BAGLm (ORCPT ); Tue, 1 Feb 2011 01:11:42 -0500 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 01 Feb 2011 06:14:18 +0000 (UTC) X-Greylist: delayed 533 seconds by postgrey-1.27 at vger.kernel.org; Tue, 01 Feb 2011 01:11:42 EST Received: from [10.0.0.158] (p5B06FF0E.dip.t-dialin.net [91.6.255.14]) by orion.eta-ori.net (Postfix) with ESMTPSA id 45DABB29A for ; Tue, 1 Feb 2011 07:02:49 +0100 (CET) Message-ID: <4D47A209.4060805@impulze.org> Date: Tue, 01 Feb 2011 07:02:49 +0100 From: Daniel Mierswa User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101218 Thunderbird/3.1.7 MIME-Version: 1.0 To: linux-media@vger.kernel.org Subject: [RFC PATCH] prevent building/installation of various utilities X-Enigmail-Version: 1.1.2 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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 $@