Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [autobuild.buildroot.net] Build results for 2014-02-07
Date: Mon, 10 Feb 2014 18:51:21 +0100	[thread overview]
Message-ID: <20140210175121.GB5239@free.fr> (raw)
In-Reply-To: <CAAXf6LWUZNKCK8b-K5yGygqv165FaLZdwOVhL4OPDz5jY-YrFQ@mail.gmail.com>

Thomas?, All,

On 2014-02-10 18:44 +0100, Thomas De Schampheleire spake thusly:
> On Mon, Feb 10, 2014 at 6:31 PM, Yann E. MORIN <yann.morin.1998@free.fr> wrote:
> >> > On 2014-02-08 08:30 +0100, Thomas Petazzoni spake thusly:
[--SNIP--]
> >> This one I agree is old. The question is: how do I exclude this package
> >> from being built. Should we introduce hidden Config.in bools for kernel
> >> header versions, so that the packages that need at least the kernel
> >> headers from kernel X.Y are not visible if you have a too old
> >> toolchain? Those bools would be set by linux-headers/Config.in for the
> >> internal backend, automatically set for the well-known external
> >> toolchains, and a custom choice for special external toolchains.
> >>
> >> Thoughts?
> >
> > Something like:
> >
> >     config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
> >         bool
> >
> >     config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_11
> >         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
> >
> >     config BR2_PACKAGE_DVB_APPS
> >         depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
> >
> > And so on for all the headers version of interest?
> 
> So suppose we need to be able to check on 2_6_3, 3_0 and 3_1, the
> linaro symbol would become:
>      config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_11
>          select BR2_TOOLCHAIN_HEADERS_AT_LEAST_2_6_3
>          select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
>          select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
> 
> right?

I was thinking of something a bit more complete (just an example, not
actual values):

    config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
        bool

    config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
        bool
        select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0

    config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_11
        bool "Linaro 2013.11"
        select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1

    config BR2_PACKAGE_DVB_APPS
        bool "dvb-apps"
        depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0

That way, the _AT_LEAST_3_0 would be selected automatically since the
toolchain would select _AT_LEAST_3_1

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

  parent reply	other threads:[~2014-02-10 17:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-08  7:30 [Buildroot] [autobuild.buildroot.net] Build results for 2014-02-07 Thomas Petazzoni
2014-02-08 12:49 ` Yann E. MORIN
2014-02-10  8:31   ` Thomas Petazzoni
2014-02-10 10:27     ` Thomas De Schampheleire
2014-02-10 17:39       ` Arnout Vandecappelle
2014-02-10 20:07         ` Thomas Petazzoni
2014-02-11  7:18           ` Arnout Vandecappelle
2014-02-10 17:31     ` Yann E. MORIN
2014-02-10 17:44       ` Thomas De Schampheleire
2014-02-10 17:51         ` Thomas Petazzoni
2014-02-10 17:55           ` Yann E. MORIN
2014-02-10 17:51         ` Yann E. MORIN [this message]
2014-02-10 17:44       ` 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=20140210175121.GB5239@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