[Buildroot] [PATCH 04/10] toolchain/external: add choice to select 'AT_LEAST_XXX' header version

Yann E. MORIN yann.morin.1998 at free.fr
Mon Feb 17 23:00:12 UTC 2014


Arnout, All,

On 2014-02-17 23:45 +0100, Arnout Vandecappelle spake thusly:
> On 16/02/14 21:08, Thomas De Schampheleire wrote:
> > "Yann E. MORIN" <yann.morin.1998 at free.fr> schreef:
> >> From: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> >>
> >> Select the appropriate BR2_TOOLCHAIN_HEADERS_AT_LEAST_XXX options for the
> >> external, custom toolchain backend.
> >>
> >> We try to be conservative here, and default to kernel headers 2.6.x.
> >>
> >> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> >> Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> >> Cc: Arnout Vandecappelle <arnout at mind.be>
> >> Cc: Thomas De Schampheleire <patrickdepinguin at gmail.com>
> >> ---
> >> toolchain/toolchain-external/Config-headers.in | 65 ++++++++++++++++++++++++++
> >> toolchain/toolchain-external/Config.in         |  2 +
> >> 2 files changed, 67 insertions(+)
> >> create mode 100644 toolchain/toolchain-external/Config-headers.in
> >>
> >> diff --git a/toolchain/toolchain-external/Config-headers.in b/toolchain/toolchain-external/Config-headers.in
> >> new file mode 100644
> >> index 0000000..60ac384
> >> --- /dev/null
> >> +++ b/toolchain/toolchain-external/Config-headers.in
> >> @@ -0,0 +1,65 @@
> >> +choice
> >> +	bool "External toolchain kernel headers"
> >> +	depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM
> >> +	default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
> >> +
> > 
> > Shouldn't there be a help text explaining what this is used for, so as to remove confusion about the fact that the kernel header version was already chosen when the toolchain was built?
> 
>  Note, however, that you can't add help text to a choice. So the only
> option is to add the text to every choice option.

Wrong. Just try... ;-)

>  Ah, the limitations of Kconfig...

You talking to me? You talking to me?  :-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list