summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2010-09-24 23:17:26 +0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-10-18 07:03:04 +0400
commit350a55e9ff6005032407d3234af800f413b03af5 (patch)
tree38249a85dbae6828ceab1a1164b11d3df174c94d
parentdb5004195481fcb500c929bd3a0e1c0c48eec527 (diff)
downloadlinux-350a55e9ff6005032407d3234af800f413b03af5.tar.xz
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