diff options
author | Martin Roth <gaumless@gmail.com> | 2024-01-18 10:38:15 -0700 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2024-01-24 08:32:11 +0000 |
commit | 94de3255e5b828a855bbeb93eb46042c95e234e6 (patch) | |
tree | bf05327ffde5ef655cbb01906768f86b64b9c9e9 /src/acpi/Makefile.mk | |
parent | e3df18451c518c0019f35b9b4d5d06ff6bd3d5f2 (diff) |
acpi,arch,commonlib: Rename Makefiles from .inc to .mk
The .inc suffix is confusing to various tools as it's not specific to
Makefiles. This means that editors don't recognize the files, and don't
open them with highlighting and any other specific editor functionality.
This issue is also seen in the release notes generation script where
Makefiles get renamed before running cloc.
Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: Ice5dadd3eaadfa9962225520a3a75b05b44518ca
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80066
Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/acpi/Makefile.mk')
-rw-r--r-- | src/acpi/Makefile.mk | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/acpi/Makefile.mk b/src/acpi/Makefile.mk new file mode 100644 index 0000000000..6bb34cb29d --- /dev/null +++ b/src/acpi/Makefile.mk @@ -0,0 +1,34 @@ +# SPDX-License-Identifier: GPL-2.0-only + +ifeq ($(CONFIG_HAVE_ACPI_TABLES),y) + +ramstage-y += acpi.c +ifeq ($(CONFIG_ARCH_RAMSTAGE_X86_32)$(CONFIG_ARCH_RAMSTAGE_X86_64),y) +ramstage-y += acpi_apic.c +ramstage-y += acpi_dmar.c +ramstage-y += acpi_hpet.c +endif +ramstage-$(CONFIG_ACPI_PPTT) += acpi_pptt.c +ramstage-y += acpigen.c +ramstage-y += acpigen_dptf.c +ramstage-y += acpigen_dsm.c +ramstage-$(CONFIG_PCI) += acpigen_pci.c +ramstage-y += acpigen_ps2_keybd.c +ramstage-y += acpigen_usb.c +ramstage-y += device.c +ramstage-$(CONFIG_ACPI_SOC_NVS) += gnvs.c +ramstage-y += pld.c +ramstage-y += sata.c +ramstage-y += soundwire.c +ramstage-y += fadt_filler.c +ramstage-$(CONFIG_ACPI_COMMON_MADT_GICC_V3) += acpi_gic.c + +all-y += acpi_pm.c +smm-y += acpi_pm.c + +ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/acpi_tables.c),) +ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/acpi_tables.c +endif +$(eval $(call asl_template,dsdt)) + +endif # CONFIG_HAVE_ACPI_TABLES |