summaryrefslogtreecommitdiffstats
path: root/drivers/spi/Makefile
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2010-09-24 12:17:32 -0700
committerGrant Likely <grant.likely@secretlab.ca>2010-10-12 21:37:37 -0600
commitfadcf49b9bd7ec5fb69befbf477e747d5b6a0328 (patch)
tree3c5ac45f410e0e0046b05e814781aabf956a00a8 /drivers/spi/Makefile
parentb1b6b9aa6fd32db97469e65d301ebc32dcd67992 (diff)
spi: change to new flag variable
Replace EXTRA_CFLAGS with ccflags-y. Signed-off-by: matt mooney <mfm@muteddisk.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/Makefile')
-rw-r--r--drivers/spi/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
index 65a232d50bc..f32d11e1ffe 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