summaryrefslogtreecommitdiff
path: root/drivers/pnp/pnpbios/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pnp/pnpbios/Makefile')
-rw-r--r--drivers/pnp/pnpbios/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pnp/pnpbios/Makefile b/drivers/pnp/pnpbios/Makefile
index 3cd3ed760605..310e2b3a7710 100644
--- a/drivers/pnp/pnpbios/Makefile
+++ b/drivers/pnp/pnpbios/Makefile
@@ -5,3 +5,7 @@
pnpbios-proc-$(CONFIG_PNPBIOS_PROC_FS) = proc.o
obj-y := core.o bioscalls.o rsparser.o $(pnpbios-proc-y)
+
+ifeq ($(CONFIG_PNP_DEBUG),y)
+EXTRA_CFLAGS += -DDEBUG
+endif