From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Jerry Kooyman via buildroot <buildroot@buildroot.org>
Cc: jerry.kooyman@entrust.com
Subject: Re: [Buildroot] [PATCH] boot/uboot: add BR2_TARGET_UBOOT_NEEDS_VIM option
Date: Tue, 22 Nov 2022 23:12:37 +0100 [thread overview]
Message-ID: <20221122231237.016cc716@windsurf> (raw)
In-Reply-To: <20221108144308.1795042-1-jerry.kooyman@entrust.com>
Hello Jerry,
On Tue, 8 Nov 2022 08:43:07 -0600
Jerry Kooyman via buildroot <buildroot@buildroot.org> wrote:
> From: Jerry Kooyman <jerry.kooyman@entrust.com>
>
> A host dependency to vim is required if the
> U-Boot board configuration has CONFIG_USE_DEFAULT_ENV_FILE enabled. So
> introduce a new BR U-Boot config option BR2_TARGET_UBOOT_NEEDS_VIM
> to solve this problem.
Thanks for the patch! First of all, in order for your patch to be
merged, we need it to carry a Signed-off-by line with your name and
email, like this:
Signed-off-by: Your Name <your.email@domain.com>
as the last line of your commit log.
> +config BR2_TARGET_UBOOT_NEEDS_VIM
> + bool "U-Boot needs vim"
I am wondering if we shouldn't make this:
config BR2_TARGET_UBOOT_NEEDS_XXD
bool "U-Boot needs xxd"
because really what U-Boot needs is xxd... which happens to be provided
by host-vim.
Indeed, if I see U-Boot failing to build because xxd is missing, if I'm
not familiar with this, I will have hard time realizing that what is
needed is this BR2_TARGET_UBOOT_NEEDS_VIM option.
In order to avoid building host-vim, which needs host-ncurses, we could
also package a standalone version of xxd, such as
https://github.com/ckormanyos/xxd. But that clearly isn't a
requirement, I will be happy to take a modified patch from you that has
the option renamed to BR2_TARGET_UBOOT_NEEDS_XXD.
Thanks a lot!
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
prev parent reply other threads:[~2022-11-22 22:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-08 14:43 [Buildroot] [PATCH] boot/uboot: add BR2_TARGET_UBOOT_NEEDS_VIM option Jerry Kooyman via buildroot
2022-11-22 22:12 ` Thomas Petazzoni via buildroot [this message]
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=20221122231237.016cc716@windsurf \
--to=buildroot@buildroot.org \
--cc=jerry.kooyman@entrust.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox