[PATCH 05/10] Makefile: Add support to generate LZMA compressed raw u-boot binary

Manoj Sai abbaraju.manojsai at amarulasolutions.com
Fri Jun 30 14:11:41 CEST 2023


Add support for generating LZMA compressed raw u-boot binary.

Signed-off-by: Manoj Sai <abbaraju.manojsai at amarulasolutions.com>
Signed-off-by: Suniel Mahesh <sunil at amarulasolutions.com>
---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index 6e15ebd116..d4f453cce1 100644
--- a/Makefile
+++ b/Makefile
@@ -1315,6 +1315,9 @@ u-boot-nodtb.bin: u-boot FORCE
 ifeq ($(CONFIG_SPL_GZIP),y)
 	@gzip -k u-boot-nodtb.bin
 endif
+ifeq ($(CONFIG_SPL_LZMA),y)
+	@lzma -k u-boot-nodtb.bin
+endif
 
 u-boot.ldr:	u-boot
 		$(CREATE_LDR_ENV)
-- 
2.25.1



More information about the U-Boot mailing list