diff options
Diffstat (limited to 'src/northbridge/amd/agesa/Makefile.inc')
-rw-r--r-- | src/northbridge/amd/agesa/Makefile.inc | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/northbridge/amd/agesa/Makefile.inc b/src/northbridge/amd/agesa/Makefile.inc index fff6524076..d735673f1d 100644 --- a/src/northbridge/amd/agesa/Makefile.inc +++ b/src/northbridge/amd/agesa/Makefile.inc @@ -23,8 +23,16 @@ subdirs-$(CONFIG_NORTHBRIDGE_AMD_AGESA_FAMILY15_TN) += family15tn subdirs-$(CONFIG_NORTHBRIDGE_AMD_AGESA_FAMILY15_RL) += family15rl subdirs-$(CONFIG_NORTHBRIDGE_AMD_AGESA_FAMILY16_KB) += family16kb -romstage-y += def_callouts.c agesawrapper.c eventlog.c -ramstage-y += def_callouts.c agesawrapper.c eventlog.c acpi_tables.c +romstage-y += def_callouts.c eventlog.c +ramstage-y += def_callouts.c eventlog.c acpi_tables.c + +ifeq ($(CONFIG_AGESA_LEGACY_WRAPPER), y) +romstage-y += agesawrapper.c +ramstage-y += agesawrapper.c +else +romstage-y += state_machine.c +ramstage-y += state_machine.c +endif romstage-y += oem_s3.c ramstage-y += oem_s3.c |