Browse Source

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>
matt mooney 15 years ago
parent
commit
350a55e9ff
1 changed files with 1 additions and 3 deletions
  1. 1 3
      drivers/pci/Makefile

+ 1 - 3
drivers/pci/Makefile

@@ -65,6 +65,4 @@ obj-$(CONFIG_PCI_SYSCALL) += syscall.o
 
 obj-$(CONFIG_PCI_STUB) += pci-stub.o
 
-ifeq ($(CONFIG_PCI_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG