1bd17e63a0
Turn on -DDEBUG in CFLAGS when CONFIG_PNP_DEBUG=y. This makes dev_dbg() do what you expect. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Acked-by: Rene Herman <rene.herman@gmail.com> Signed-off-by: Len Brown <len.brown@intel.com>
12 lines
188 B
Makefile
12 lines
188 B
Makefile
#
|
|
# Makefile for the kernel ISAPNP driver.
|
|
#
|
|
|
|
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
|