From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Heiko Thiery <heiko.thiery@gmail.com>
Cc: Matt Weber <matthew.weber@rockwellcollins.com>,
Michael Walle <michael@walle.cc>,
buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v3] package/uboot-tools: use uboot host tool printinitialenv to extract env
Date: Tue, 6 Jan 2026 16:43:14 +0100 [thread overview]
Message-ID: <20260106164314.142d9032@windsurf> (raw)
In-Reply-To: <20260106151022.29135-1-heiko.thiery@gmail.com>
Hello Heiko,
On Tue, 6 Jan 2026 16:10:23 +0100
Heiko Thiery <heiko.thiery@gmail.com> wrote:
> diff --git a/package/uboot-tools/uboot-tools.mk b/package/uboot-tools/uboot-tools.mk
> index 1925047ccd..69e03f40d8 100644
> --- a/package/uboot-tools/uboot-tools.mk
> +++ b/package/uboot-tools/uboot-tools.mk
> @@ -154,10 +154,11 @@ HOST_UBOOT_TOOLS_DEPENDENCIES += uboot
> ifeq ($(UBOOT_TOOLS_GENERATE_ENV_FILE),)
> UBOOT_TOOLS_GENERATE_ENV_FILE = $(@D)/boot-env-defaults.txt
> define HOST_UBOOT_TOOLS_GENERATE_ENV_DEFAULTS
> - CROSS_COMPILE="$(TARGET_CROSS)" \
> - $(UBOOT_SRCDIR)/scripts/get_default_envs.sh \
> - $(UBOOT_SRCDIR) \
> - > $(UBOOT_TOOLS_GENERATE_ENV_FILE)
> + if [ -x $(UBOOT_SRCDIR)/tools/printinitialenv ]; then \
> + $(UBOOT_SRCDIR)/tools/printinitialenv > $(UBOOT_TOOLS_GENERATE_ENV_FILE); \
> + else \
> + CROSS_COMPILE="$(TARGET_CROSS)" $(UBOOT_SRCDIR)/scripts/get_default_envs.sh > $(UBOOT_SRCDIR); \
The redirect is still broken here, this command line is not correct, as
it's not the same as it used to be.
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-01-06 15:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-06 15:10 [Buildroot] [PATCH v3] package/uboot-tools: use uboot host tool printinitialenv to extract env Heiko Thiery
2026-01-06 15:43 ` Thomas Petazzoni via buildroot [this message]
2026-01-06 15:50 ` Heiko Thiery
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=20260106164314.142d9032@windsurf \
--to=buildroot@buildroot.org \
--cc=heiko.thiery@gmail.com \
--cc=matthew.weber@rockwellcollins.com \
--cc=michael@walle.cc \
--cc=thomas.petazzoni@bootlin.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.