Commit fadcf49b authored by matt mooney's avatar matt mooney Committed by Grant Likely

spi: change to new flag variable

Replace EXTRA_CFLAGS with ccflags-y.
Signed-off-by: default avatarmatt mooney <mfm@muteddisk.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent b1b6b9aa
...@@ -2,9 +2,7 @@ ...@@ -2,9 +2,7 @@
# Makefile for kernel SPI drivers. # Makefile for kernel SPI drivers.
# #
ifeq ($(CONFIG_SPI_DEBUG),y) ccflags-$(CONFIG_SPI_DEBUG) := -DDEBUG
EXTRA_CFLAGS += -DDEBUG
endif
# small core, mostly translating board-specific # small core, mostly translating board-specific
# config declarations into driver model code # config declarations into driver model code
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment