From: Grant Likely Date: Fri, 08 Oct 2010 18:33:51 +0000 Subject: Re: [PATCH 22/24] spi: change to new flag variable Message-Id: <20101008183351.GK3863@angua.secretlab.ca> List-Id: References: <58b418c2e7311bffb13606a6b94e33ddb7569346.1285355033.git.mfm@muteddisk.com> In-Reply-To: <58b418c2e7311bffb13606a6b94e33ddb7569346.1285355033.git.mfm@muteddisk.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: matt mooney Cc: kernel-janitors@vger.kernel.org, David Brownell , spi-devel-general@lists.sourceforge.net, linux-kernel@vger.kernel.org On Fri, Sep 24, 2010 at 12:17:32PM -0700, matt mooney wrote: > Replace EXTRA_CFLAGS with ccflags-y. > > Signed-off-by: matt mooney Applied, thanks. g. > --- > drivers/spi/Makefile | 4 +--- > 1 files changed, 1 insertions(+), 3 deletions(-) > > diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile > index e9cbd18..66c0c47 100644 > --- a/drivers/spi/Makefile > +++ b/drivers/spi/Makefile > @@ -2,9 +2,7 @@ > # Makefile for kernel SPI drivers. > # > > -ifeq ($(CONFIG_SPI_DEBUG),y) > -EXTRA_CFLAGS += -DDEBUG > -endif > +ccflags-$(CONFIG_SPI_DEBUG) := -DDEBUG > > # small core, mostly translating board-specific > # config declarations into driver model code > -- > 1.7.2.1 >