summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2010-09-24 21:17:26 +0200
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-10-18 05:03:04 +0200
commit350a55e9ff6005032407d3234af800f413b03af5 (patch)
tree38249a85dbae6828ceab1a1164b11d3df174c94d
parentPCI: add PCI_MSIX_TABLE/PBA defines (diff)
downloadlinux-350a55e9ff6005032407d3234af800f413b03af5.tar.xz
linux-350a55e9ff6005032407d3234af800f413b03af5.zip
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>
-rw-r--r--drivers/pci/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pci/Makefile b/drivers/pci/Makefile
index dc1aa0922868..dcd7ace9221e 100644
--- a/drivers/pci/Makefile
+++ b/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