From patchwork Wed Jul 14 16:17:26 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Aguirre Rodriguez, Sergio Alberto" X-Patchwork-Id: 3800 Return-path: Envelope-to: mchehab@infradead.org Delivery-date: Wed, 14 Jul 2010 16:20:19 +0000 Received: from bombadil.infradead.org [18.85.46.34] by localhost with IMAP (fetchmail-6.3.17) for (single-drop); Thu, 15 Jul 2010 18:31:31 -0300 (BRT) Received: from vger.kernel.org ([209.132.180.67]) by bombadil.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1OZ4h0-0002wO-VD; Wed, 14 Jul 2010 16:20:19 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757080Ab0GNQUK (ORCPT + 1 other); Wed, 14 Jul 2010 12:20:10 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:33095 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756717Ab0GNQUJ (ORCPT ); Wed, 14 Jul 2010 12:20:09 -0400 Received: from dlep33.itg.ti.com ([157.170.170.112]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id o6EGK5HA016135 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Jul 2010 11:20:05 -0500 Received: from legion.dal.design.ti.com (localhost [127.0.0.1]) by dlep33.itg.ti.com (8.13.7/8.13.7) with ESMTP id o6EGK5jO007877; Wed, 14 Jul 2010 11:20:05 -0500 (CDT) Received: from localhost (dtx0091359-ubuntu-1.am.dhcp.ti.com [128.247.74.241]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id o6EGK4P12258; Wed, 14 Jul 2010 11:20:04 -0500 (CDT) From: Sergio Aguirre To: Laurent Pinchart Cc: linux-media@vger.kernel.org, Sergio Aguirre Subject: [media-ctl PATCH 3/3] Be able to add more CFLAGS Date: Wed, 14 Jul 2010 11:17:26 -0500 Message-Id: <1279124246-12187-4-git-send-email-saaguirre@ti.com> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1279124246-12187-1-git-send-email-saaguirre@ti.com> References: <1279124246-12187-1-git-send-email-saaguirre@ti.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org This allows the gcc compilation to build with extra parameters. For example, if we want to build with -static, we just do: make CFLAGS=-static Signed-off-by: Sergio Aguirre --- Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 300ed7e..bd53626 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ HDIR ?= /usr/include CC := $(CROSS_COMPILE)gcc -CFLAGS = -O2 -Wall -fpic -I$(HDIR) +CFLAGS += -O2 -Wall -fpic -I$(HDIR) OBJS = media.o main.o options.o subdev.o all: media-ctl