Patrick Rudolph | 5fffb5e | 2019-07-25 11:55:30 +0200 | [diff] [blame] | 1 | ifeq ($(CONFIG_INTEL_TXT),y) |
| 2 | |
| 3 | cbfs-files-y += txt_bios_acm.bin |
| 4 | txt_bios_acm.bin-file := $(CONFIG_INTEL_TXT_BIOSACM_FILE) |
| 5 | txt_bios_acm.bin-type := raw |
| 6 | txt_bios_acm.bin-align := $(CONFIG_INTEL_TXT_BIOSACM_ALIGNMENT) |
| 7 | |
| 8 | ifneq ($(CONFIG_INTEL_TXT_SINITACM_FILE),"") |
| 9 | cbfs-files-y += txt_sinit_acm.bin |
| 10 | txt_sinit_acm.bin-file := $(CONFIG_INTEL_TXT_SINITACM_FILE) |
| 11 | txt_sinit_acm.bin-type := raw |
| 12 | txt_sinit_acm.bin-align := 0x10 |
| 13 | txt_sinit_acm.bin-compression := lzma |
| 14 | endif |
| 15 | |
| 16 | INTERMEDIATE+=add_acm_fit |
| 17 | add_acm_fit: $(obj)/coreboot.pre $(IFITTOOL) |
| 18 | $(IFITTOOL) -r COREBOOT -a -n txt_bios_acm.bin -t 2 -s $(CONFIG_CPU_INTEL_NUM_FIT_ENTRIES) -f $< |
| 19 | |
| 20 | endif |