Fix the ACPI_DEBUG build for the non-module case. Move the #define into

acfreebsd.h and remove it from the Makefile.  Now ACPI_DEBUG implies
ACPI_DISASSEMBLER.

Noticed by:	marcel
This commit is contained in:
Nate Lawson 2003-07-15 19:18:41 +00:00
parent edc02bfbfa
commit 8a7e9ab4b7
2 changed files with 2 additions and 1 deletions

View file

@ -134,6 +134,7 @@
#ifdef ACPI_DEBUG
#define ACPI_DEBUG_OUTPUT /* for backward compatibility */
#define ACPI_DISASSEMBLER
#endif
#ifdef _KERNEL

View file

@ -53,7 +53,7 @@ CFLAGS+=-DACPI_MAX_THREADS=${ACPI_MAX_THREADS}
# Debugging support
.if ACPI_DEBUG
CFLAGS+=-DACPI_DEBUG -DACPI_DISASSEMBLER
CFLAGS+=-DACPI_DEBUG
SRCS+= dbcmds.c dbdisply.c dbexec.c dbfileio.c dbhistry.c
SRCS+= dbinput.c dbstats.c dbutils.c dbxface.c
SRCS+= dmbuffer.c dmnames.c dmopcode.c dmobject.c dmresrc.c dmresrcl.c