diff options
author | matt mooney <mfm@muteddisk.com> | 2010-09-24 12:17:32 -0700 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-10-12 21:37:37 -0600 |
commit | fadcf49b9bd7ec5fb69befbf477e747d5b6a0328 (patch) | |
tree | 3c5ac45f410e0e0046b05e814781aabf956a00a8 /drivers | |
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')
-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 @@ # 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 |