aboutsummaryrefslogtreecommitdiff
path: root/drivers/pnp/pnpacpi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pnp/pnpacpi/Makefile')
-rw-r--r--drivers/pnp/pnpacpi/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pnp/pnpacpi/Makefile b/drivers/pnp/pnpacpi/Makefile
index 905326fcca8..2d7a1e6908b 100644
--- a/drivers/pnp/pnpacpi/Makefile
+++ b/drivers/pnp/pnpacpi/Makefile
@@ -3,3 +3,7 @@
#
obj-y := core.o rsparser.o
+
+ifeq ($(CONFIG_PNP_DEBUG),y)
+EXTRA_CFLAGS += -DDEBUG
+endif