mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 14:02:10 +00:00
PNP: turn on -DDEBUG when CONFIG_PNP_DEBUG is set
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>
This commit is contained in:
parent
a01e035ebb
commit
1bd17e63a0
@ -5,3 +5,7 @@
|
|||||||
isapnp-proc-$(CONFIG_PROC_FS) = proc.o
|
isapnp-proc-$(CONFIG_PROC_FS) = proc.o
|
||||||
|
|
||||||
obj-y := core.o compat.o $(isapnp-proc-y)
|
obj-y := core.o compat.o $(isapnp-proc-y)
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_PNP_DEBUG),y)
|
||||||
|
EXTRA_CFLAGS += -DDEBUG
|
||||||
|
endif
|
||||||
|
@ -3,3 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
obj-y := core.o rsparser.o
|
obj-y := core.o rsparser.o
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_PNP_DEBUG),y)
|
||||||
|
EXTRA_CFLAGS += -DDEBUG
|
||||||
|
endif
|
||||||
|
@ -5,3 +5,7 @@
|
|||||||
pnpbios-proc-$(CONFIG_PNPBIOS_PROC_FS) = proc.o
|
pnpbios-proc-$(CONFIG_PNPBIOS_PROC_FS) = proc.o
|
||||||
|
|
||||||
obj-y := core.o bioscalls.o rsparser.o $(pnpbios-proc-y)
|
obj-y := core.o bioscalls.o rsparser.o $(pnpbios-proc-y)
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_PNP_DEBUG),y)
|
||||||
|
EXTRA_CFLAGS += -DDEBUG
|
||||||
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user