aboutsummaryrefslogtreecommitdiffstats
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
parentspi/pl022: add PrimeCell generic DMA support (diff)
downloadlinux-dev-fadcf49b9bd7ec5fb69befbf477e747d5b6a0328.tar.xz
linux-dev-fadcf49b9bd7ec5fb69befbf477e747d5b6a0328.zip
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 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