From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] Fix Image name not configurable (issue #28).
Date: Sat, 29 Aug 2015 13:59:35 +0200 [thread overview]
Message-ID: <20150829115935.GC4857@free.fr> (raw)
In-Reply-To: <1440845031-3965-2-git-send-email-mc5686@mclink.it>
Mauro, All,
On 2015-08-29 12:43 +0200, Mauro Condarelli spake thusly:
> Signed-off-by: Mauro Condarelli <mc5686@mclink.it>
> ---
> ...age-name-not-appearing-in-make-menuconfig.patch | 27 ++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
> create mode 100644 boot/at91bootstrap3/0001-fix-Image-name-not-appearing-in-make-menuconfig.patch
>
> diff --git a/boot/at91bootstrap3/0001-fix-Image-name-not-appearing-in-make-menuconfig.patch b/boot/at91bootstrap3/0001-fix-Image-name-not-appearing-in-make-menuconfig.patch
> new file mode 100644
> index 0000000..cf72b16
> --- /dev/null
> +++ b/boot/at91bootstrap3/0001-fix-Image-name-not-appearing-in-make-menuconfig.patch
> @@ -0,0 +1,27 @@
> +From d2a65fce095242f28f263bbaba373516b6b4db43 Mon Sep 17 00:00:00 2001
> +From: Mauro Condarelli <mc5686@mclink.it>
> +Date: Sat, 29 Aug 2015 11:49:26 +0200
> +Subject: [PATCH] trivial patch to fix Image name not appearing in 'make
> + manuconfig' (fixes issue #28).
> +
> +Signed-off-by: Mauro Condarelli <mc5686@mclink.it>
> +---
> + Config.in | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/Config.in b/Config.in
> +index 432df26..714b05d 100644
> +--- a/Config.in
> ++++ b/Config.in
> +@@ -81,7 +81,7 @@ source "Config.in.u-boot"
> + source "Config.in.app-image"
> +
> + config CONFIG_IMAGE_NAME
> +- string
> ++ string "Image name"
> + default "Image" if CONFIG_LINUX_IMAGE
> + default "u-boot.bin" if CONFIG_LOAD_UBOOT
> + default "softpack.bin" if CONFIG_LOAD_64KB || CONFIG_LOAD_4MB || CONFIG_LOAD_1MB
As discussed on IRC, this is probably the wrong solution.
A better (and probably more easily upstreamable) solution would be to
add a choice for the user to select the type of the image, like so:
In Config.in.kernel:
choice
bool "Image format"
config CONFIG_LINUX_UIMAGE
bool "uImage"
config COMFIG_LINUX_ZIMAGE
bool "zImage"
endchoice
In Config.in:
config CONFIG_IMAGE_NAME
string
default "Image" if CONFIG_LINUX_UIMAGE
default "zImage" if CONFIG_LINUX_ZIMAGE
[...]
Note that CONFIG_LINUX_UIMAGE comes first in the choice, so that a
defconfig keeps the existing behaviour of using uImage. You may also
want to add support for other image names, YMMV...
I'm marking this patch as rejected in Patchwork.
Regards,
Yann E. MORIN.
> +--
> +2.1.4
> +
> --
> 2.1.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2015-08-29 11:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-29 10:07 [Buildroot] [PATCH] trivial patch to fix Image name not appearing in 'make menuconfig' (fixex issue #28) Mauro Condarelli
2015-08-29 10:13 ` Mauro Condarelli
2015-08-29 10:43 ` [Buildroot] [PATCH 1/1] Fix Image name not configurable (issue #28) Mauro Condarelli
2015-08-29 10:43 ` Mauro Condarelli
2015-08-29 11:59 ` Yann E. MORIN [this message]
2015-08-29 16:28 ` Mauro Condarelli
2015-08-31 7:32 ` Thomas Petazzoni
2015-08-31 8:17 ` Yann E. MORIN
2015-08-31 12:48 ` Mauro Condarelli
2015-10-21 7:58 ` Mauro Condarelli
2015-10-21 8:20 ` Thomas Petazzoni
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=20150829115935.GC4857@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/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