[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 18:02:22 UTC 2014


Thomas DS, All,

On 2014-02-17 09:07 +0100, Thomas De Schampheleire spake thusly:
> On Sun, Feb 16, 2014 at 9:47 PM, Yann E. MORIN <yann.morin.1998 at free.fr> wrote:
> > On 2014-02-16 21:08 +0100, Thomas De Schampheleire spake thusly:
[--SNIP--]
> >> 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?
> >
> > I'm not sure I entirely grok your comment. This choice is only visible
> > for external toolchains, not for the internal backend, so there is not
> > two choices to set the kernel headers version.
> 
> True, but suppose the user did make the externel toolchain himself,
> for example with crosstool-ng. While creating the toolchain, he did
> get the question of which headers to use already, so he/she may think
> 'Huh? Why do I have to choose it again, and what will happen if I
> select a newer version here?"

OK, I was not sure that was what you meant. Agreed.

> > However, I can indeed add a help entry like that one:
> >
> >     help
> >       Set to the kernel headers version that were used to build
> >       the external toolchain.
> >
> >       This is used to hide/show some packages that have strict
> >       requirements on the version of kernel headers.
> >
> > What do you think about that? Does it answers your concerns?
> 
> Yes, thanks.
> Maybe you could also add that if the user is unsure about the exact
> version, it's 'safer' to specify an older version than a newer one.

OK.

> And maybe a way of determining the header version used in a toolchain,
> in case the user does not know it.

OK.

Thank you!

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