From: John Hodge (sonata) Date: Sun, 9 Dec 2012 05:01:36 +0000 (+0800) Subject: Externals/ACPICA - Endabled debug X-Git-Tag: rel0.15~608 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=a36ce5dd9d40b37c30bdb0603f5c95004f271e8c;hp=590ae24e57553f79a92d6ef52c0468c07aa5de22;p=tpg%2Facess2.git Externals/ACPICA - Endabled debug --- diff --git a/Externals/ACPICA/Makefile b/Externals/ACPICA/Makefile index 97d3414b..835614d3 100644 --- a/Externals/ACPICA/Makefile +++ b/Externals/ACPICA/Makefile @@ -2,6 +2,8 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../../Makefile.cfg +ACPI_DEBUG ?= no + BIN := ../bin-$(ARCH)/libacpica.a _VERS := $(patsubst acpica-unix-%.tar.gz,%,$(wildcard acpica-unix-*.tar.gz)) @@ -30,6 +32,9 @@ CPPFLAGS += -I $(KERNELDIR)include -I$(KERNELDIR)arch/$(ARCHDIR)/include -D_MODU CPPFLAGS += -I $(ACPICAROOT)source/include -D _ACESS -D __KERNEL__ CPPFLAGS += -D ARCH=$(ARCH) -D ARCHDIR=$(ARCHDIR) -D PLATFORM=\"$(PLATFORM)\" -D ARCHDIR_IS_$(ARCHDIR)=1 -D PLATFORM_is_$(PLATFORM)=1 CPPFLAGS += -D KERNEL_VERSION=$(KERNEL_VERSION) -ffreestanding +ifneq ($(ACPI_DEBUG),no) + CPPFLAGS += -D ACPI_DEBUG_OUTPUT=1 -D ACPI_DISASSEMBLER=1 +endif CFLAGS += -Wall -fno-stack-protector -Wstrict-prototypes -std=gnu99 -g SRCS := $(wildcard $(COMPDIR)*/*.c)