From patchwork Fri Jan 14 14:12:47 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: matt mooney X-Patchwork-Id: 478851 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 p0EEEEvL032581 for ; Fri, 14 Jan 2011 14:14:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757636Ab1ANONs (ORCPT ); Fri, 14 Jan 2011 09:13:48 -0500 Received: from qmta03.emeryville.ca.mail.comcast.net ([76.96.30.32]:58126 "EHLO qmta03.emeryville.ca.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757612Ab1ANONp (ORCPT ); Fri, 14 Jan 2011 09:13:45 -0500 Received: from omta14.emeryville.ca.mail.comcast.net ([76.96.30.60]) by qmta03.emeryville.ca.mail.comcast.net with comcast id vQtc1f0021HpZEsA3SDljs; Fri, 14 Jan 2011 14:13:45 +0000 Received: from haskell.muteddisk.com ([98.239.78.58]) by omta14.emeryville.ca.mail.comcast.net with comcast id vSDl1f0011FUwZe8aSDl0p; Fri, 14 Jan 2011 14:13:45 +0000 Received: by haskell.muteddisk.com (Postfix, from userid 1000) id F22CC412AD; Fri, 14 Jan 2011 06:13:44 -0800 (PST) From: matt mooney To: Michal Marek Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RESEND PATCH 24/27] rapidio: change to new flag variable Date: Fri, 14 Jan 2011 06:12:47 -0800 Message-Id: <6665ba07ced175b6d1fbc22ca03b5363bd78ed5b.1295006565.git.mfm@muteddisk.com> X-Mailer: git-send-email 1.6.4.2 In-Reply-To: References: Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 14 Jan 2011 14:14:15 +0000 (UTC) diff --git a/drivers/rapidio/Makefile b/drivers/rapidio/Makefile index b6139fe..89b8eca 100644 --- a/drivers/rapidio/Makefile +++ b/drivers/rapidio/Makefile @@ -5,6 +5,4 @@ obj-y += rio.o rio-access.o rio-driver.o rio-scan.o rio-sysfs.o obj-$(CONFIG_RAPIDIO) += switches/ -ifeq ($(CONFIG_RAPIDIO_DEBUG),y) -EXTRA_CFLAGS += -DDEBUG -endif +subdir-ccflags-$(CONFIG_RAPIDIO_DEBUG) := -DDEBUG diff --git a/drivers/rapidio/switches/Makefile b/drivers/rapidio/switches/Makefile index 48d67a6..c4d3acc 100644 --- a/drivers/rapidio/switches/Makefile +++ b/drivers/rapidio/switches/Makefile @@ -7,7 +7,3 @@ obj-$(CONFIG_RAPIDIO_CPS_XX) += idtcps.o obj-$(CONFIG_RAPIDIO_TSI568) += tsi568.o obj-$(CONFIG_RAPIDIO_TSI500) += tsi500.o obj-$(CONFIG_RAPIDIO_CPS_GEN2) += idt_gen2.o - -ifeq ($(CONFIG_RAPIDIO_DEBUG),y) -EXTRA_CFLAGS += -DDEBUG -endif