From patchwork Sun Oct 7 18:41:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 1561951 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 7B1623FD9C for ; Sun, 7 Oct 2012 18:42:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753689Ab2JGSmN (ORCPT ); Sun, 7 Oct 2012 14:42:13 -0400 Received: from mail-ie0-f174.google.com ([209.85.223.174]:55494 "EHLO mail-ie0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753688Ab2JGSmG (ORCPT ); Sun, 7 Oct 2012 14:42:06 -0400 Received: by mail-ie0-f174.google.com with SMTP id k13so7621739iea.19 for ; Sun, 07 Oct 2012 11:42:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=OK3aJgfgD6FlesuUq/jPoB1rRbk89NWATzqGZqHLv9A=; b=M+WNvBTpM+AJ12qTYpqvPH+vAV8xz8X5KRmmGqwXbgY7YQ6fpgiTI0j9Gl9K0Wobmb 0wYi7jj4I72A7Dx/79Su6BloEjfTQIIqqtTUdf34AGbYezcEj8reEw1T2Pqlzjo9S33P S1O5/evKZOPkbGesEKOvU2+cCjFjC6HUfFhiKrGlKNN3P0UwswPxAhqZoC0GCGJRRPk5 mSsnZdZBpegGSqMAAp/SdcBiOXdq8wzJ15e7rgl88QGsRgdo10CzKseSwTnPc6qPX0Fn lvlDSjgQj4nx+7s7+r+B46YwUGASMNVH4arUjIojp3nMlsShQJE+yDpFkrTmYJ0aHl6G AyoQ== Received: by 10.50.150.167 with SMTP id uj7mr4048920igb.33.1349635325994; Sun, 07 Oct 2012 11:42:05 -0700 (PDT) Received: from leo.gateway.2wire.net (99-57-140-209.lightspeed.sntcca.sbcglobal.net. [99.57.140.209]) by mx.google.com with ESMTPS id mi10sm5716961igc.16.2012.10.07.11.42.04 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 07 Oct 2012 11:42:05 -0700 (PDT) From: Khem Raj To: linux-media@vger.kernel.org Cc: Khem Raj Subject: [v4l-utils] Use RCC variable to call rcc compiler Date: Sun, 7 Oct 2012 11:41:52 -0700 Message-Id: <1349635312-3045-1-git-send-email-raj.khem@gmail.com> X-Mailer: git-send-email 1.7.10.4 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org In cross compile environment rcc native version may be staged in a different directory or even called rcc4 or somesuch. Lets provide a facility to specify it in environment Signed-off-by: Khem Raj --- utils/qv4l2/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/qv4l2/Makefile.am b/utils/qv4l2/Makefile.am index 02d0bcb..86d0285 100644 --- a/utils/qv4l2/Makefile.am +++ b/utils/qv4l2/Makefile.am @@ -29,7 +29,7 @@ moc_capture-win.cpp: $(srcdir)/capture-win.h # Call the Qt resource compiler qrc_qv4l2.cpp: $(srcdir)/qv4l2.qrc - rcc -name qv4l2 -o $@ $(srcdir)/qv4l2.qrc + $(RCC) -name qv4l2 -o $@ $(srcdir)/qv4l2.qrc install-data-local: $(INSTALL_DATA) -D -p "$(srcdir)/qv4l2.desktop" "$(DESTDIR)$(datadir)/applications/qv4l2.desktop"