Difference between revisions of "Bering-uClibc 6.x - Developer Guide - Providing kernel headers"
From bering-uClibc
m |
|||
Line 14: | Line 14: | ||
./buildtool.pl headers linux | ./buildtool.pl headers linux | ||
cd headers/include | cd headers/include | ||
− | tar cvfJ ../../repo/toolchain/linux-headers.tar.xz | + | 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 adviced to keep the kernel headers for the oldest kernel a toolchain uses. | 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 adviced to keep the kernel headers for the oldest kernel a toolchain uses. |
Revision as of 17:45, 27 January 2017
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 adviced to keep the kernel headers for the oldest kernel a toolchain uses.
Prev | Up | Next |