On Fri, Sep 24, 2010 at 12:17:32PM -0700, matt mooney wrote: > Replace EXTRA_CFLAGS with ccflags-y. > > Signed-off-by: matt mooney <mfm@xxxxxxxxxxxxx> 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 > -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html