diff options
Diffstat (limited to 'src/commonlib/Makefile.mk')
-rw-r--r-- | src/commonlib/Makefile.mk | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/src/commonlib/Makefile.mk b/src/commonlib/Makefile.mk new file mode 100644 index 0000000000..70e731df35 --- /dev/null +++ b/src/commonlib/Makefile.mk @@ -0,0 +1,63 @@ +## SPDX-License-Identifier: GPL-2.0-only + +subdirs-y += storage + +bootblock-y += mem_pool.c +verstage-y += mem_pool.c +romstage-y += mem_pool.c +ramstage-y += mem_pool.c +postcar-y += mem_pool.c +smm-y += mem_pool.c + +bootblock-y += iobuf.c +verstage-y += iobuf.c +romstage-y += iobuf.c +ramstage-y += iobuf.c +smm-y += iobuf.c +postcar-y += iobuf.c + +bootblock-y += region.c +verstage-y += region.c +romstage-y += region.c +ramstage-y += region.c +smm-y += region.c +postcar-y += region.c + +romstage-y += rational.c +ramstage-y += rational.c + +ramstage-$(CONFIG_PLATFORM_USES_FSP1_1) += fsp_relocate.c +ifeq ($(CONFIG_FSP_M_XIP),) +romstage-$(CONFIG_PLATFORM_USES_FSP2_0) += fsp_relocate.c +endif +ramstage-$(CONFIG_PLATFORM_USES_FSP2_0) += fsp_relocate.c + +bootblock-y += bsd/cbfs_private.c +verstage-y += bsd/cbfs_private.c +romstage-y += bsd/cbfs_private.c +postcar-y += bsd/cbfs_private.c +ramstage-y += bsd/cbfs_private.c +smm-y += bsd/cbfs_private.c + +bootblock-y += bsd/cbfs_mcache.c +verstage-y += bsd/cbfs_mcache.c +romstage-y += bsd/cbfs_mcache.c +postcar-y += bsd/cbfs_mcache.c +ramstage-y += bsd/cbfs_mcache.c +smm-y += bsd/cbfs_mcache.c + +decompressor-y += bsd/lz4_wrapper.c +bootblock-y += bsd/lz4_wrapper.c +verstage-y += bsd/lz4_wrapper.c +romstage-y += bsd/lz4_wrapper.c +ramstage-y += bsd/lz4_wrapper.c +postcar-y += bsd/lz4_wrapper.c + +ramstage-y += sort.c + +romstage-y += bsd/elog.c +ramstage-y += bsd/elog.c +smm-y += bsd/elog.c + +decompressor-y += bsd/gcd.c +all-y += bsd/gcd.c |