summaryrefslogtreecommitdiff
path: root/src/arch/x86/boot/Makefile.inc
blob: 2c482b33f3b4c5692efd651d4a7570ee9b247149 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

ifeq ($(CONFIG_ARCH_ROMSTAGE_X86_32),y)

romstage-$(CONFIG_EARLY_CBMEM_INIT) += cbmem.c
romstage-$(CONFIG_BROKEN_CAR_MIGRATE) += cbmem.c

endif # CONFIG_ARCH_ROMSTAGE_X86_32

ifeq ($(CONFIG_ARCH_RAMSTAGE_X86_32),y)

ramstage-y += boot.c
ramstage-y += gdt.c
ramstage-y += tables.c
ramstage-y += cbmem.c
ramstage-$(CONFIG_GENERATE_MP_TABLE) += mpspec.c
ramstage-$(CONFIG_GENERATE_PIRQ_TABLE) += pirq_routing.c
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi.c
ramstage-$(CONFIG_GENERATE_SMBIOS_TABLES) += smbios.c
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpigen.c
ramstage-$(CONFIG_HAVE_ACPI_RESUME) += wakeup.S

$(obj)/arch/x86/boot/smbios.ramstage.o: $(obj)/build.h

endif # CONFIG_ARCH_RAMSTAGE_X86_32