diff options
author | njl <njl@FreeBSD.org> | 2003-07-15 19:18:41 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2003-07-15 19:18:41 +0000 |
commit | 711369e68f8a9af1a4653daead1b914af6edebbe (patch) | |
tree | 146d66de38cdfc1ee2dee2b08aef3a2c729142e3 /sys | |
parent | 9901d0da5d47555bfb905f0ffb24fe6b38f2cdd3 (diff) | |
download | FreeBSD-src-711369e68f8a9af1a4653daead1b914af6edebbe.zip FreeBSD-src-711369e68f8a9af1a4653daead1b914af6edebbe.tar.gz |
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
Diffstat (limited to 'sys')
-rw-r--r-- | sys/contrib/dev/acpica/acfreebsd.h | 1 | ||||
-rw-r--r-- | sys/modules/acpi/Makefile | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/contrib/dev/acpica/acfreebsd.h b/sys/contrib/dev/acpica/acfreebsd.h index 133b128..53abc15 100644 --- a/sys/contrib/dev/acpica/acfreebsd.h +++ b/sys/contrib/dev/acpica/acfreebsd.h @@ -134,6 +134,7 @@ #ifdef ACPI_DEBUG #define ACPI_DEBUG_OUTPUT /* for backward compatibility */ +#define ACPI_DISASSEMBLER #endif #ifdef _KERNEL diff --git a/sys/modules/acpi/Makefile b/sys/modules/acpi/Makefile index 3754253..50af641 100644 --- a/sys/modules/acpi/Makefile +++ b/sys/modules/acpi/Makefile @@ -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 |