Replace EXTRA_CFLAGS with ccflags-y. Signed-off-by: matt mooney <[email protected]> --- 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 ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ spi-devel-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spi-devel-general
