summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Kasilag2026-03-04 02:48:32 +0000
committerRobert Marko2026-05-15 18:53:04 +0000
commit8e751e953d13f06796f0faa4f02e0b88de5e6f4e (patch)
treee3915d5e9c4807bd7721e6360f6947855555f7f4
parent3bd046e170a967c6eed82f4fd64f3bbc3cdef9fd (diff)
downloadopenwrt-8e751e953d13f06796f0faa4f02e0b88de5e6f4e.tar.gz
uboot-airoha: rename FIP_COMPRESS to LZMA_COMPRESS
It is more accurate to describe the contents of the FIP as compressed, instead of the FIP itself becoming compressed. Update variable naming accordingly. Signed-off-by: Kenneth Kasilag <kenneth@kasilag.me> Link: https://github.com/openwrt/openwrt/pull/22151 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> (cherry picked from commit 97035a5e7f5b46407c5677cdfb9c2891e417a70a) Link: https://github.com/openwrt/openwrt/pull/22294 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--package/boot/uboot-airoha/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/boot/uboot-airoha/Makefile b/package/boot/uboot-airoha/Makefile
index 100cee9c4c..5334e0cba0 100644
--- a/package/boot/uboot-airoha/Makefile
+++ b/package/boot/uboot-airoha/Makefile
@@ -13,7 +13,7 @@ include $(INCLUDE_DIR)/host-build.mk
define U-Boot/Default
BUILD_TARGET:=airoha
- FIP_COMPRESS:=1
+ LZMA_COMPRESS:=1
endef
define U-Boot/an7581_rfb
@@ -54,15 +54,15 @@ define Build/fip-image-bl2
endef
define Build/fip-image
- $(if $(FIP_COMPRESS), $(STAGING_DIR_HOST)/bin/lzma e \
+ $(if $(LZMA_COMPRESS), $(STAGING_DIR_HOST)/bin/lzma e \
$(PKG_BUILD_DIR)/u-boot.bin \
$(PKG_BUILD_DIR)/u-boot.bin.lzma)
- $(if $(FIP_COMPRESS), $(STAGING_DIR_HOST)/bin/lzma e \
+ $(if $(LZMA_COMPRESS), $(STAGING_DIR_HOST)/bin/lzma e \
files/$(BL31_IMAGE) \
$(PKG_BUILD_DIR)/bl31.bin.lzma)
$(STAGING_DIR_HOST)/bin/fiptool create \
- --soc-fw $(PKG_BUILD_DIR)/bl31.bin$(if $(FIP_COMPRESS),.lzma) \
- --nt-fw $(PKG_BUILD_DIR)/u-boot.bin$(if $(FIP_COMPRESS),.lzma) \
+ --soc-fw $(PKG_BUILD_DIR)/bl31.bin$(if $(LZMA_COMPRESS),.lzma) \
+ --nt-fw $(PKG_BUILD_DIR)/u-boot.bin$(if $(LZMA_COMPRESS),.lzma) \
$(PKG_BUILD_DIR)/u-boot.fip
endef