Skip to content

Add dependency on kernel headers

Yann E. MORIN buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10toolchain/common: add minimum kernel headers optionstoolchain/toolchain-common.in+59 -01 reply
2/10manual: document minimal kernel headers dependencydocs/manual/adding-packages-directory.txt+6 -02 replies
2/10manual: document minimal kernel headers dependency+0 -00 replies
2/10manual: document minimal kernel headers dependency+0 -01 reply
2/10manual: document minimal kernel headers dependency+0 -00 replies
3/10package/linux-headers: select appropriate 'AT_LEAST_XXX' header versionpackage/linux-headers/Config.in.host+11 -01 reply
3/10package/linux-headers: select appropriate 'AT_LEAST_XXX' header version+0 -02 replies
3/10package/linux-headers: select appropriate 'AT_LEAST_XXX' header version+0 -00 replies
4/10toolchain/external: add choice to select 'AT_LEAST_XXX' header versiontoolchain/toolchain-external/Config-headers.in toolchain/toolchain-external/Config.in+67 -02 replies
4/10toolchain/external: add choice to select 'AT_LEAST_XXX' header version+0 -04 replies
4/10toolchain/external: add choice to select 'AT_LEAST_XXX' header version+0 -00 replies
4/10toolchain/external: add choice to select 'AT_LEAST_XXX' header version+0 -02 replies
4/10toolchain/external: add choice to select 'AT_LEAST_XXX' header version+0 -01 reply
5/10toolchain/external: add choice to select 'AT_LEAST_XXX' header versiontoolchain/toolchain-external/Config.in+32 -01 reply
6/10package/dvb-apps: requires kernel headers >= 3.3package/dvb-apps/Config.in+3 -21 reply
6/10package/dvb-apps: requires kernel headers >= 3.3+0 -00 replies
7/10package/w_scan: requires kernel headers >= 3.0package/w_scan/Config.in+4 -00 replies
8/10package/weston: requires kernel headers >= 3.0package/weston/Config.in+3 -20 replies
9/10package/tvheadend: requires kernel headers >= 3.2package/tvheadend/Config.in+3 -20 replies
10/10package/mmc-utils: requires kernel headers >= 3.0package/mmc-utils/Config.in+3 -20 replies

Reviews trailers per patch

2 of 20 patches have a Reviewed-by or Acked-by.

PatchArnout Vandecappelle (Essensium/Mind)
1/10R-b
2/10
2/10
2/10
2/10
3/10
3/10
3/10
4/10
4/10
4/10
4/10
4/10
5/10R-b
6/10
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/10] Add dependency on kernel headers

From: "Yann E. MORIN" <[email protected]>

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
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'