2019-09-24 02:23:02 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
|
2020-05-01 04:13:47 +02:00
|
|
|
ifeq ($(CONFIG_HAVE_ACPI_TABLES),y)
|
|
|
|
|
|
|
|
ramstage-y += acpi.c
|
|
|
|
ramstage-y += acpigen.c
|
|
|
|
ramstage-y += acpigen_dsm.c
|
|
|
|
ramstage-y += acpigen_ps2_keybd.c
|
2020-05-01 08:56:20 +02:00
|
|
|
ramstage-y += device.c
|
|
|
|
ramstage-y += pld.c
|
2020-05-01 04:13:47 +02:00
|
|
|
ramstage-y += sata.c
|
|
|
|
|
2020-05-01 08:05:11 +02:00
|
|
|
ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/acpi_tables.c),)
|
|
|
|
ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/acpi_tables.c
|
|
|
|
endif
|
|
|
|
$(eval $(call asl_template,dsdt))
|
|
|
|
ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/fadt.c),)
|
|
|
|
ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/fadt.c
|
|
|
|
endif
|
|
|
|
|
2020-05-01 04:13:47 +02:00
|
|
|
endif # CONFIG_GENERATE_ACPI_TABLES
|