x86/PCI: use -DDEBUG when CONFIG_PCI_DEBUG set
[deliverable/linux.git] / arch / x86 / pci / Makefile
index 56d917b556c62770eac3b7b8d55af5dec829b494..d8a0a6279a4d65f857ba3ff0e522718e5592a71e 100644 (file)
@@ -16,3 +16,7 @@ obj-$(CONFIG_X86_NUMAQ)               += numaq_32.o
 obj-y                          += common.o early.o
 obj-y                          += amd_bus.o
 obj-$(CONFIG_X86_64)           += intel_bus.o
+
+ifeq ($(CONFIG_PCI_DEBUG),y)
+EXTRA_CFLAGS += -DDEBUG
+endif
This page took 0.028418 seconds and 5 git commands to generate.