summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/pi/Makefile.mk
blob: 8fcc4c0cf4409934231e5b278fd0ac5eac29252e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## SPDX-License-Identifier: GPL-2.0-only
ifeq ($(CONFIG_SOC_AMD_PI),y)

romstage-y += agesawrapper.c
romstage-y += def_callouts.c
romstage-y += heapmanager.c
romstage-y += image.c
romstage-y += refcode_loader.c
romstage-y += s3_resume.c

ramstage-y += agesawrapper.c
ramstage-y += amd_late_init.c
ramstage-$(CONFIG_HAVE_ACPI_RESUME) += amd_resume_final.c
ramstage-y += def_callouts.c
ramstage-y += heapmanager.c
ramstage-y += image.c
ramstage-y += refcode_loader.c
ramstage-y += s3_resume.c

CFLAGS_x86_32 += -Wno-pragma-pack
CFLAGS_x86_64 += -Wno-pragma-pack

endif # CONFIG_SOC_AMD_PI