mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: linux-arm-kernel@lists.infradead.org
Cc: "Thomas Weißschuh" <thomas.weissschuh@linutronix.de>,
	"J . Neuschäfer" <j.ne@posteo.net>,
	"Masahiro Yamada" <masahiroy@kernel.org>,
	"Ahmad Fatoum" <a.fatoum@pengutronix.de>,
	"Nicolas Schier" <nicolas@fjasle.eu>,
	"Tom Rini" <trini@konsulko.com>,
	"Chen-Yu Tsai" <wenst@chromium.org>,
	"Simon Glass" <sjg@chromium.org>,
	"Nicolas Schier" <nsc@kernel.org>,
	"Alice Ryhl" <aliceryhl@google.com>,
	"Ard Biesheuvel" <ardb@kernel.org>,
	"Josh Poimboeuf" <jpoimboe@kernel.org>,
	"Kees Cook" <kees@kernel.org>,
	"Nathan Chancellor" <nathan@kernel.org>,
	"Petr Mladek" <pmladek@suse.com>,
	linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v9 4/6] kbuild: Support a FIT_EXTRA_ARGS environment variable
Date: Tue,  6 Jan 2026 09:27:34 -0700	[thread overview]
Message-ID: <20260106162738.2605574-5-sjg@chromium.org> (raw)
In-Reply-To: <20260106162738.2605574-1-sjg@chromium.org>

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>
---

Changes in v9:
- Rename the variable to FIT_EXTRA_ARGS

Changes in v7:
- Add a new patch with the MAKE_FIT_FLAGS change

 scripts/Makefile.lib | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 28a1c08e3b22..e8da632d5348 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -400,7 +400,7 @@ FIT_COMPRESSION ?= gzip
 
 quiet_cmd_fit = FIT     $@
       cmd_fit = $(MAKE_FIT) -o $@ --arch $(UIMAGE_ARCH) --os linux \
-		--name '$(UIMAGE_NAME)' \
+		--name '$(UIMAGE_NAME)' $(FIT_EXTRA_ARGS) \
 		$(if $(findstring 1,$(KBUILD_VERBOSE)),-v) \
 		$(if $(FIT_DECOMPOSE_DTBS),--decompose-dtbs) \
 		--compress $(FIT_COMPRESSION) -k $< @$(word 2,$^)
-- 
2.43.0


  parent reply	other threads:[~2026-01-06 16:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-06 16:27 [PATCH v9 0/6] scripts/make_fit: Support ramdisks and faster operations Simon Glass
2026-01-06 16:27 ` [PATCH v9 1/6] scripts/make_fit: Speed up operation Simon Glass
2026-01-06 16:27 ` [PATCH v9 2/6] scripts/make_fit: Support an initial ramdisk Simon Glass
2026-01-06 16:27 ` [PATCH v9 3/6] scripts/make_fit: Move dtb processing into a function Simon Glass
2026-01-06 16:27 ` Simon Glass [this message]
2026-01-06 16:27 ` [PATCH v9 5/6] scripts/make_fit: Support a few more parallel compressors Simon Glass
2026-01-06 16:27 ` [PATCH v9 6/6] scripts/make_fit: Compress dtbs in parallel Simon Glass
2026-02-03  2:45 ` [PATCH v9 0/6] scripts/make_fit: Support ramdisks and faster operations Simon Glass
2026-02-03  4:51   ` Nathan Chancellor
2026-02-03 21:59     ` Simon Glass
2026-02-05 19:23 ` Nathan Chancellor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260106162738.2605574-5-sjg@chromium.org \
    --to=sjg@chromium.org \
    --cc=a.fatoum@pengutronix.de \
    --cc=aliceryhl@google.com \
    --cc=ardb@kernel.org \
    --cc=j.ne@posteo.net \
    --cc=jpoimboe@kernel.org \
    --cc=kees@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=masahiroy@kernel.org \
    --cc=nathan@kernel.org \
    --cc=nicolas@fjasle.eu \
    --cc=nsc@kernel.org \
    --cc=pmladek@suse.com \
    --cc=thomas.weissschuh@linutronix.de \
    --cc=trini@konsulko.com \
    --cc=wenst@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®