aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/Makefile')
-rw-r--r--drivers/pci/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pci/Makefile b/drivers/pci/Makefile
index dc1aa092286..dcd7ace9221 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