Arthur Heymans | 94fe086 | 2020-10-15 13:57:52 +0200 | [diff] [blame] | 1 | ifeq ($(CONFIG_INTEL_CBNT_SUPPORT),y) |
| 2 | |
| 3 | ifneq ($(CONFIG_INTEL_CBNT_BOOT_POLICY_MANIFEST_BINARY),"") |
| 4 | cbfs-files-y += boot_policy_manifest.bin |
| 5 | boot_policy_manifest.bin-file := $(CONFIG_INTEL_CBNT_BOOT_POLICY_MANIFEST_BINARY) |
| 6 | boot_policy_manifest.bin-type := raw |
| 7 | boot_policy_manifest.bin-align := 0x10 |
| 8 | |
Patrick Georgi | 2cc5bcb | 2021-01-13 09:15:07 +0100 | [diff] [blame] | 9 | $(call add_intermediate, add_bpm_fit, $(IFITTOOL)) |
Arthur Heymans | 94fe086 | 2020-10-15 13:57:52 +0200 | [diff] [blame] | 10 | $(IFITTOOL) -r COREBOOT -a -n boot_policy_manifest.bin -t 12 -s $(CONFIG_CPU_INTEL_NUM_FIT_ENTRIES) -f $< |
| 11 | endif |
| 12 | |
| 13 | ifneq ($(CONFIG_INTEL_CBNT_KEY_MANIFEST_BINARY),"") |
| 14 | cbfs-files-y += key_manifest.bin |
| 15 | key_manifest.bin-file := $(CONFIG_INTEL_CBNT_KEY_MANIFEST_BINARY) |
| 16 | key_manifest.bin-type := raw |
| 17 | key_manifest.bin-align := 0x10 |
| 18 | |
Patrick Georgi | 2cc5bcb | 2021-01-13 09:15:07 +0100 | [diff] [blame] | 19 | $(call add_intermediate, add_km_fit, $(IFITTOOL)) |
Arthur Heymans | 94fe086 | 2020-10-15 13:57:52 +0200 | [diff] [blame] | 20 | $(IFITTOOL) -r COREBOOT -a -n key_manifest.bin -t 11 -s $(CONFIG_CPU_INTEL_NUM_FIT_ENTRIES) -f $< |
| 21 | endif |
| 22 | |
| 23 | endif # CONFIG_INTEL_CBNT_SUPPORT |