Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/10] Add dependency on kernel headers
@ 2014-02-16 17:27 Yann E. MORIN
  2014-02-16 17:27 ` [Buildroot] [PATCH 01/10] toolchain/common: add minimum kernel headers options Yann E. MORIN
                   ` (10 more replies)
  0 siblings, 11 replies; 40+ messages in thread
From: Yann E. MORIN @ 2014-02-16 17:27 UTC (permalink / raw)
  To: buildroot

From: "Yann E. MORIN" <yann.morin.1998@free.fr>

Hello All!

This series introduces infrastructure for packages to depend on the
required version of kernel headers.

It follows the proposal made on the list:
    http://lists.busybox.net/pipermail/buildroot/2014-February/088924.html

The basic idea is to add a symbol for each kernel header version, and
have toolchains select the appropriate symbol, and packages depend on the
appropriate symbol.

In this series:

  - such symbols are added for all kernel headers >= 3.0;

  - the internal toochain backend selects the appropriate symbol
    without user-visible changes;

  - the predefined external toolchains select the appropriate symbols
    without user-visible changes; those using kernel headers older than
    3.0, select nothing, and a comment is added to state so;

  - for the custom external toolchain, a new choice is shown to the
    user, to select the appropriate kernel headers version;

  - five packages are converted to take advantage of this.

For example:

  - BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1 selects
    BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3

  - dvb-apps depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3

Regards,
Yann E. MORIN.


----------------------------------------------------------------
Yann E. MORIN (10):
      toolchain/common: add minimum kernel headers options
      manual: document minimal kernel headers dependency
      package/linux-headers: select appropriate 'AT_LEAST_XXX' header version
      toolchain/external: add choice to select 'AT_LEAST_XXX' header version
      toolchain/external: add choice to select 'AT_LEAST_XXX' header version
      package/dvb-apps: requires kernel headers >= 3.3
      package/w_scan: requires kernel headers >= 3.0
      package/weston: requires kernel headers >= 3.0
      package/tvheadend: requires kernel headers >= 3.2
      package/mmc-utils: requires kernel headers >= 3.0

 docs/manual/adding-packages-directory.txt      |  6 +++
 package/dvb-apps/Config.in                     |  5 +-
 package/linux-headers/Config.in.host           | 11 +++++
 package/mmc-utils/Config.in                    |  5 +-
 package/tvheadend/Config.in                    |  5 +-
 package/w_scan/Config.in                       |  4 ++
 package/weston/Config.in                       |  5 +-
 toolchain/toolchain-common.in                  | 59 +++++++++++++++++++++++
 toolchain/toolchain-external/Config-headers.in | 65 ++++++++++++++++++++++++++
 toolchain/toolchain-external/Config.in         | 34 ++++++++++++++
 10 files changed, 191 insertions(+), 8 deletions(-)
 create mode 100644 toolchain/toolchain-external/Config-headers.in

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

^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2014-02-20 21:11 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-16 17:27 [Buildroot] [PATCH 0/10] Add dependency on kernel headers Yann E. MORIN
2014-02-16 17:27 ` [Buildroot] [PATCH 01/10] toolchain/common: add minimum kernel headers options Yann E. MORIN
2014-02-17 22:33   ` Arnout Vandecappelle
2014-02-16 17:27 ` [Buildroot] [PATCH 02/10] manual: document minimal kernel headers dependency Yann E. MORIN
2014-02-16 17:41   ` Samuel Martin
2014-02-16 17:52     ` Yann E. MORIN
2014-02-16 20:03   ` Thomas De Schampheleire
2014-02-16 20:42     ` Yann E. MORIN
2014-02-16 20:45       ` Thomas De Schampheleire
2014-02-16 20:55         ` Yann E. MORIN
2014-02-16 17:27 ` [Buildroot] [PATCH 03/10] package/linux-headers: select appropriate 'AT_LEAST_XXX' header version Yann E. MORIN
2014-02-17 22:41   ` Arnout Vandecappelle
2014-02-20 18:16     ` Yann E. MORIN
2014-02-20 20:17       ` Thomas Petazzoni
2014-02-20 21:06         ` Thomas De Schampheleire
2014-02-20 21:11           ` Yann E. MORIN
2014-02-16 17:27 ` [Buildroot] [PATCH 04/10] toolchain/external: add choice to select " Yann E. MORIN
2014-02-16 20:08   ` Thomas De Schampheleire
2014-02-16 20:47     ` Yann E. MORIN
2014-02-17  8:07       ` Thomas De Schampheleire
2014-02-17 10:30         ` Thomas Petazzoni
2014-02-17 10:32           ` Thomas De Schampheleire
2014-02-17 10:44             ` Thomas Petazzoni
2014-02-17 18:04           ` Yann E. MORIN
2014-02-17 22:49             ` Thomas Petazzoni
2014-02-17 23:10               ` Arnout Vandecappelle
2014-02-17 18:02         ` Yann E. MORIN
2014-02-17 22:45     ` Arnout Vandecappelle
2014-02-17 23:00       ` Yann E. MORIN
2014-02-17 23:14         ` Arnout Vandecappelle
2014-02-16 17:27 ` [Buildroot] [PATCH 05/10] " Yann E. MORIN
2014-02-17 22:47   ` Arnout Vandecappelle
2014-02-16 17:27 ` [Buildroot] [PATCH 06/10] package/dvb-apps: requires kernel headers >= 3.3 Yann E. MORIN
2014-02-17 22:51   ` Arnout Vandecappelle
2014-02-17 23:24     ` Yann E. MORIN
2014-02-16 17:27 ` [Buildroot] [PATCH 07/10] package/w_scan: requires kernel headers >= 3.0 Yann E. MORIN
2014-02-16 17:27 ` [Buildroot] [PATCH 08/10] package/weston: " Yann E. MORIN
2014-02-16 17:27 ` [Buildroot] [PATCH 09/10] package/tvheadend: requires kernel headers >= 3.2 Yann E. MORIN
2014-02-16 17:27 ` [Buildroot] [PATCH 10/10] package/mmc-utils: requires kernel headers >= 3.0 Yann E. MORIN
2014-02-16 17:36 ` [Buildroot] [PATCH 0/10] Add dependency on kernel headers Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox