summaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 808c0d916a..abf47d4fae 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -327,6 +327,19 @@ define cbfs-files-processor-config
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
# arg2: binary file