Martin Roth | f362bbd | 2023-08-04 12:24:24 -0600 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
Eugene Myers | ae438be | 2020-01-21 17:01:47 -0500 | [diff] [blame] | 2 | |
| 3 | # put the stm where it can be found |
| 4 | |
| 5 | cbfs-files-$(CONFIG_STM) += stm.bin |
| 6 | stm.bin-file := $(CONFIG_STM_BINARY_FILE) |
| 7 | stm.bin-type := raw |
| 8 | |
| 9 | ramstage-$(CONFIG_STM) += SmmStm.c |
| 10 | ramstage-$(CONFIG_STM) += StmPlatformSmm.c |
| 11 | ramstage-$(CONFIG_STM) += StmPlatformResource.c |
Eugene Myers | 7979bf5 | 2020-10-01 14:59:27 -0400 | [diff] [blame] | 12 | |
| 13 | 3rdparty/stm/Stm/build/StmPkg/Core/stm.bin: $(obj)/config.h |
| 14 | $(MAKE) -C src/security/intel/stm \ |
Benjamin Doron | 234f8e0 | 2021-03-05 20:47:56 +0000 | [diff] [blame] | 15 | CONFIG_STM_TTYS0_BASE=$(CONFIG_STM_TTYS0_BASE) \ |
Eugene Myers | 7979bf5 | 2020-10-01 14:59:27 -0400 | [diff] [blame] | 16 | CONFIG_STM_HEAPSIZE=$(CONFIG_STM_HEAPSIZE) \ |
| 17 | CONFIG_STM_CONSOLE_DEBUG=$(CONFIG_STM_CONSOLE_DEBUG) \ |
| 18 | CONFIG_STM_CONSOLE_RELEASE=$(CONFIG_STM_CONSOLE_RELEASE) \ |
| 19 | CONFIG_STM_GIT_BRANCH=$(CONFIG_STM_GIT_BRANCH) \ |
| 20 | CONFIG_STM_STMPE_ENABLED=$(CONFIG_STM_STMPE_ENABLED) \ |
| 21 | CONFIG_STM_CBMEM_CONSOLE=$(CONFIG_STM_CBMEM_CONSOLE) |