diff options
Diffstat (limited to 'make_helpers')
-rw-r--r-- | make_helpers/build_macros.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/make_helpers/build_macros.mk b/make_helpers/build_macros.mk index 7ff1e154e..0d2cf1063 100644 --- a/make_helpers/build_macros.mk +++ b/make_helpers/build_macros.mk @@ -171,6 +171,19 @@ check_$(1): endef ################################################################################ +# Generic image processing filters +################################################################################ + +# GZIP +define GZIP_RULE +$(1): $(2) + @echo " GZIP $$@" + $(Q)gzip -n -f -9 $$< --stdout > $$@ +endef + +GZIP_SUFFIX := .gz + +################################################################################ # Auxiliary macros to build TF images from sources ################################################################################ |