Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

matt mooney and committed by
Grant Likely
fadcf49b b1b6b9aa

+1 -3
+1 -3
drivers/spi/Makefile
··· 2 2 # Makefile for kernel SPI drivers. 3 3 # 4 4 5 - ifeq ($(CONFIG_SPI_DEBUG),y) 6 - EXTRA_CFLAGS += -DDEBUG 7 - endif 5 + ccflags-$(CONFIG_SPI_DEBUG) := -DDEBUG 8 6 9 7 # small core, mostly translating board-specific 10 8 # config declarations into driver model code