Skip to content

Commit 9a329df

Browse files
sjg20nathanchance
authored andcommitted
kbuild: Support a FIT_EXTRA_ARGS environment variable
In some cases it is useful to be able to pass additional flags to the make_fit.py script. For example, since ramdisks are typically large, passing -E to use external data can be helpful. Add a new FIT_EXTRA_ARGS variable for this. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Nicolas Schier <nsc@kernel.org> Reviewed-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Link: https://patch.msgid.link/20260106162738.2605574-5-sjg@chromium.org Signed-off-by: Nathan Chancellor <nathan@kernel.org>
1 parent 873c283 commit 9a329df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/Makefile.lib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ FIT_COMPRESSION ?= gzip
400400

401401
quiet_cmd_fit = FIT $@
402402
cmd_fit = $(MAKE_FIT) -o $@ --arch $(UIMAGE_ARCH) --os linux \
403-
--name '$(UIMAGE_NAME)' \
403+
--name '$(UIMAGE_NAME)' $(FIT_EXTRA_ARGS) \
404404
$(if $(findstring 1,$(KBUILD_VERBOSE)),-v) \
405405
$(if $(FIT_DECOMPOSE_DTBS),--decompose-dtbs) \
406406
--compress $(FIT_COMPRESSION) -k $< @$(word 2,$^)

0 commit comments

Comments
 (0)