diff options
author | matt mooney <mfm@muteddisk.com> | 2010-09-24 15:17:32 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-10-12 23:37:37 -0400 |
commit | fadcf49b9bd7ec5fb69befbf477e747d5b6a0328 (patch) | |
tree | 3c5ac45f410e0e0046b05e814781aabf956a00a8 /drivers/spi/Makefile | |
parent | b1b6b9aa6fd32db97469e65d301ebc32dcd67992 (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/Makefile | 4 |
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 @@ | |||
2 | # Makefile for kernel SPI drivers. | 2 | # Makefile for kernel SPI drivers. |
3 | # | 3 | # |
4 | 4 | ||
5 | ifeq ($(CONFIG_SPI_DEBUG),y) | 5 | ccflags-$(CONFIG_SPI_DEBUG) := -DDEBUG |
6 | EXTRA_CFLAGS += -DDEBUG | ||
7 | endif | ||
8 | 6 | ||
9 | # small core, mostly translating board-specific | 7 | # small core, mostly translating board-specific |
10 | # config declarations into driver model code | 8 | # config declarations into driver model code |