2016-03-18 15:31:00 +00:00
|
|
|
REQUIRES := x86
|
|
|
|
|
|
|
|
ACPICA_DIR := $(call select_from_ports,acpica)/src/lib/acpica
|
|
|
|
ACPICA_COMP := $(ACPICA_DIR)/source/components
|
|
|
|
|
|
|
|
SRC_C += debugger/dbdisply.c debugger/dbobject.c debugger/dbxface.c
|
|
|
|
SRC_C += $(addprefix disassembler/, $(notdir $(wildcard $(ACPICA_COMP)/disassembler/*.c)))
|
|
|
|
SRC_C += $(addprefix dispatcher/, $(notdir $(wildcard $(ACPICA_COMP)/dispatcher/*.c)))
|
|
|
|
SRC_C += $(addprefix events/, $(notdir $(wildcard $(ACPICA_COMP)/events/*.c)))
|
|
|
|
SRC_C += $(addprefix executer/, $(notdir $(wildcard $(ACPICA_COMP)/executer/*.c)))
|
|
|
|
SRC_C += $(addprefix hardware/, $(notdir $(wildcard $(ACPICA_COMP)/hardware/*.c)))
|
|
|
|
SRC_C += $(addprefix namespace/, $(notdir $(wildcard $(ACPICA_COMP)/namespace/*.c)))
|
|
|
|
SRC_C += $(addprefix parser/, $(notdir $(wildcard $(ACPICA_COMP)/parser/*.c)))
|
|
|
|
SRC_C += $(addprefix resources/, $(notdir $(wildcard $(ACPICA_COMP)/resources/*.c)))
|
|
|
|
SRC_C += $(addprefix tables/, $(notdir $(wildcard $(ACPICA_COMP)/tables/*.c)))
|
|
|
|
SRC_C += $(addprefix utilities/, $(notdir $(wildcard $(ACPICA_COMP)/utilities/*.c)))
|
|
|
|
|
2017-01-31 19:46:18 +00:00
|
|
|
SRC_CC += osl.cc iomem.cc pci.cc env.cc
|
2016-11-23 16:07:49 +00:00
|
|
|
|
|
|
|
include $(REP_DIR)/lib/import/import-acpica.mk
|
2016-03-18 15:31:00 +00:00
|
|
|
|
2019-07-18 11:57:34 +00:00
|
|
|
CC_C_OPT += -DACPI_LIBRARY -Wno-unused-variable -Wno-unused-but-set-variable -Wno-format-truncation
|
2016-03-18 15:31:00 +00:00
|
|
|
|
|
|
|
vpath %.c $(ACPICA_COMP)
|
|
|
|
vpath %.cc $(REP_DIR)/src/lib/acpica
|
2018-01-03 17:40:54 +00:00
|
|
|
|
|
|
|
CC_CXX_WARN_STRICT =
|