Commit 350a55e9ff6005032407d3234af800f413b03af5

Authored by matt mooney
Committed by Jesse Barnes
1 parent db50041954

PCI: use new ccflags variable in Makefile

Replace EXTRA_CFLAGS with ccflags-y.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>

Showing 1 changed file with 1 additions and 3 deletions Side-by-side Diff

drivers/pci/Makefile
... ... @@ -65,7 +65,5 @@
65 65  
66 66 obj-$(CONFIG_PCI_STUB) += pci-stub.o
67 67  
68   -ifeq ($(CONFIG_PCI_DEBUG),y)
69   -EXTRA_CFLAGS += -DDEBUG
70   -endif
  68 +ccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG