From: matt mooney Date: Fri, 24 Sep 2010 19:17:32 +0000 (-0700) Subject: spi: change to new flag variable X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fadcf49b9bd7ec5fb69befbf477e747d5b6a0328;p=linux-beck.git spi: change to new flag variable Replace EXTRA_CFLAGS with ccflags-y. Signed-off-by: matt mooney Signed-off-by: Grant Likely --- diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile index 65a232d50bc8..f32d11e1ffec 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