diff --git a/Makefile.inc b/Makefile.inc index 808c0d916a..abf47d4fae 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -326,6 +326,19 @@ define cbfs-files-processor-config mv -f $(2).tmp $(2)) endef +####################################################################### +# Add a file to CBFS with just type and compression values +# arg1: name in CBFS +# arg2: filename and path +# arg3: type in CBFS +# arg4: compression type +define add-cbfs-file-simple + $(eval cbfs-files-y += $(1)) + $(eval $(1)-file := $(2)) + $(eval $(1)-type := $(3)) + $(eval $(1)-compression := $(4)) +endef + ####################################################################### # Compile a C file with a bare struct definition into binary # arg1: C source file