Martin Roth | 4a45ab8 | 2019-09-23 18:23:02 -0600 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | # This file is part of the coreboot project. |
| 3 | |
Furquan Shaikh | 6cc1e9e | 2020-04-30 19:13:47 -0700 | [diff] [blame] | 4 | ifeq ($(CONFIG_HAVE_ACPI_TABLES),y) |
| 5 | |
| 6 | ramstage-y += acpi.c |
Furquan Shaikh | 6cc1e9e | 2020-04-30 19:13:47 -0700 | [diff] [blame] | 7 | ramstage-y += acpigen.c |
| 8 | ramstage-y += acpigen_dsm.c |
| 9 | ramstage-y += acpigen_ps2_keybd.c |
Furquan Shaikh | 56a5ebf | 2020-04-30 23:56:20 -0700 | [diff] [blame] | 10 | ramstage-y += device.c |
| 11 | ramstage-y += pld.c |
Furquan Shaikh | 6cc1e9e | 2020-04-30 19:13:47 -0700 | [diff] [blame] | 12 | ramstage-y += sata.c |
| 13 | |
Furquan Shaikh | e5bcc72 | 2020-04-30 23:05:11 -0700 | [diff] [blame] | 14 | ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/acpi_tables.c),) |
| 15 | ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/acpi_tables.c |
| 16 | endif |
| 17 | $(eval $(call asl_template,dsdt)) |
| 18 | ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/fadt.c),) |
| 19 | ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/fadt.c |
| 20 | endif |
| 21 | |
Furquan Shaikh | 6cc1e9e | 2020-04-30 19:13:47 -0700 | [diff] [blame] | 22 | endif # CONFIG_GENERATE_ACPI_TABLES |