PNP: turn on -DDEBUG when CONFIG_PNP_DEBUG is set
[deliverable/linux.git] / drivers / pnp / isapnp / Makefile
index cac18bbfb817b1e042d820fbf7eace2adbdc6f9f..3e38f06f8d785b64d77a76a392d78c2593e44205 100644 (file)
@@ -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
This page took 0.027947 seconds and 5 git commands to generate.