Difference between revisions of "Bering-uClibc 6.x - Developer Guide - Providing kernel headers"
From bering-uClibc
(Created page with "{| summary="Navigation header" width="100%" ! colspan="3" align="center" | Providing kernel headers |- | wid...") |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
| width="20%" align="left" | [[Bering-uClibc 6.x - Developer Guide - Adding a Hardware Architecture Variant|Prev]] | | width="20%" align="left" | [[Bering-uClibc 6.x - Developer Guide - Adding a Hardware Architecture Variant|Prev]] | ||
! width="60%" align="center" | [[Bering-uClibc 6.x - Developer Guide]] | ! width="60%" align="center" | [[Bering-uClibc 6.x - Developer Guide]] | ||
| − | | width="20%" align="right" | [[Bering-uClibc 6.x - Developer Guide - | + | | width="20%" align="right" | [[Bering-uClibc 6.x - Developer Guide - Policies and Guidelines|Next]] |
|} | |} | ||
---- | ---- | ||
| + | Building the kernel headers tarball is different from building all other Packages. | ||
| + | |||
| + | The kernel headers are needed to build the toolchain and can be found in <code class="filename">repo/toolchain</code>. | ||
| + | To create the tarball run in your buidtool root: | ||
| + | |||
| + | ./buildtool.pl headers linux | ||
| + | cd headers/include | ||
| + | tar cvfJ ../../repo/toolchain/linux-headers.tar.xz * | ||
| + | |||
| + | Please note, that toolchains can support different kernel versions, which may be useful especially in transitions to a newer versions, where not all toolchains will be supported immediately. It is advised to keep the kernel headers for the oldest kernel a toolchain uses. | ||
| + | ---- | ||
| + | {| summary="Navigation footer" width="100%" | ||
| + | | width="40%" align="left" | [[Bering-uClibc 6.x - Developer Guide - Adding a Kernel Architecture Variant|Prev]] | ||
| + | | width="20%" align="center" | [[Bering-uClibc 6.x - Developer Guide|Up]] | ||
| + | | width="40%" align="right" | [[Bering-uClibc 6.x - Developer Guide - Policies and Guidelines|Next]] | ||
| + | |} | ||
| + | |||
| + | [[Category:Bering-uClibc 6.x]] | ||
| + | [[Category:Developer Guide]] | ||
Latest revision as of 18:57, 28 September 2019
| Providing kernel headers | ||
|---|---|---|
| Prev | Bering-uClibc 6.x - Developer Guide | Next |
Building the kernel headers tarball is different from building all other Packages.
The kernel headers are needed to build the toolchain and can be found in repo/toolchain.
To create the tarball run in your buidtool root:
./buildtool.pl headers linux cd headers/include tar cvfJ ../../repo/toolchain/linux-headers.tar.xz *
Please note, that toolchains can support different kernel versions, which may be useful especially in transitions to a newer versions, where not all toolchains will be supported immediately. It is advised to keep the kernel headers for the oldest kernel a toolchain uses.
| Prev | Up | Next |