aboutsummaryrefslogtreecommitdiff
path: root/drivers/pnp/isapnp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pnp/isapnp/Makefile')
-rw-r--r--drivers/pnp/isapnp/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pnp/isapnp/Makefile b/drivers/pnp/isapnp/Makefile
index cac18bbfb81..3e38f06f8d7 100644
--- a/drivers/pnp/isapnp/Makefile
+++ b/drivers/pnp/isapnp/Makefile
@@ -5,3 +5,7 @@
isapnp-proc-$(CONFIG_PROC_FS) = proc.o
obj-y := core.o compat.o $(isapnp-proc-y)
+
+ifeq ($(CONFIG_PNP_DEBUG),y)
+EXTRA_CFLAGS += -DDEBUG
+endif