summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2010-09-24 12:17:26 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-10-17 20:03:04 -0700
commit350a55e9ff6005032407d3234af800f413b03af5 (patch)
tree38249a85dbae6828ceab1a1164b11d3df174c94d /drivers/pci
parentdb5004195481fcb500c929bd3a0e1c0c48eec527 (diff)
downloadlinux-350a55e9ff6005032407d3234af800f413b03af5.tar.bz2
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>
Diffstat (limited to 'drivers/pci')
-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