diff options
author | Martin Roth <gaumless@gmail.com> | 2023-05-10 12:43:24 -0600 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2023-05-31 07:03:50 +0000 |
commit | fda545d5dd408c6ae2bfdec501e9b7a7ea24bbbc (patch) | |
tree | 65954894181b240afcf44348432346bd11a68892 /gnat.adc | |
parent | 32282c62c64eac538494cfed26b109fbe61d05ff (diff) |
Makefile.inc: Create function to add a file to CBFS
This function can be called to more easily add a file to CBFS.
Additional file attributes can be added later:
cbfs-files-y += pagetables
pagetables-file := $(objcbfs)/pt
pagetables-type := raw
pagetables-compression := none
pagetables-COREBOOT-position := $(CONFIG_ARCH_X86_64_PGTBL_LOC)
becomes
$(call add-cbfs-file-simple, pagetables, $(objcbfs)/pt, raw, none )
pagetables-COREBOOT-position := $(CONFIG_ARCH_X86_64_PGTBL_LOC)
This is especially useful inside macros where you may want to add
an unknown number of entries.
Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I72bb2f21fb22f650b7970c7a37a48c10a4af0ed5
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75108
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'gnat.adc')
0 files changed, 0 insertions, 0 deletions