klibc-bot for Ben Hutchings
2022-Aug-03 22:51 UTC
[klibc] [klibc:master] README.klibc: Add note about headers_install in cross-build
Commit-ID: 6ded7f0ecaafc59460c82890f04cef3d86f58383 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=6ded7f0ecaafc59460c82890f04cef3d86f58383 Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Tue, 2 Aug 2022 23:03:27 +0200 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Thu, 4 Aug 2022 00:48:26 +0200 [klibc] README.klibc: Add note about headers_install in cross-build When cross-compiling, it's critical to get the kernel UAPI headers for the target architectures. Add a sentence about this to the "Cross- compiling" section. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/klibc/README.klibc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr/klibc/README.klibc b/usr/klibc/README.klibc index f562661f..6162ad3a 100644 --- a/usr/klibc/README.klibc +++ b/usr/klibc/README.klibc @@ -22,7 +22,9 @@ Cross-compiling If you're cross-compiling, you need to set KLIBCARCH to the appropriate architecture, and set CROSS_COMPILE to your toolchain -prefix, on the "make" command line +prefix, on the "make" command line. You also need to set ARCH to the +appropriate kernel architecture name on the "make headers_install" +command line. IMPORTANT: if you're on a 64-bit machine with a 32-bit userland (ia64, mips64, ppc64 sparc64, s390x or x86_64), and you want to