klibc-bot for Ben Hutchings
2019-Jan-18 16:42 UTC
[klibc] [klibc:master] Makefile: Update help text for KLIBCKERNELSRC
Commit-ID: 42be2beaa876e041d6c1a1eb5bb3b81b9e8242ac Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=42be2beaa876e041d6c1a1eb5bb3b81b9e8242ac Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Sun, 6 Jan 2019 20:54:43 +0000 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Fri, 18 Jan 2019 03:10:14 +0000 [klibc] Makefile: Update help text for KLIBCKERNELSRC Since the UAPI/KAPI header split in Linux 3.7, we have needed KLIBCKERNELSRC to point to the installed UAPI headers. The "sample invocation" has been updated to reflect this but the rest of the help text has not. Link: https://www.zytor.com/pipermail/klibc/2019-January/004032.html Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index a11d1e6..09f531e 100644 --- a/Makefile +++ b/Makefile @@ -99,10 +99,10 @@ $(objtree)/.config: $(srctree)/defconfig @false $(KLIBCKERNELSRC): - @echo "Cannot find kernel sources." - @echo "Either make a 'linux' symlink point to a kernel tree " - @echo "configured for the $(KLIBCARCH) architecture or specify " - @echo "KLIBCKERNELSRC=<path> to the build." + @echo "Cannot find kernel UAPI headers." + @echo "Either make a 'linux' symlink point to the usr subdirectory " + @echo "of a kernel tree with headers installed for the $(KLIBCARCH) " + @echo "architecture or specify KLIBCKERNELSRC=<path>." @false rpmbuild = $(shell which rpmbuild 2>/dev/null || which rpm) @@ -133,7 +133,7 @@ help: @echo 'test - Run klibc tests' @echo @echo 'Build options:' - @echo 'KLIBCKERNELSRC - Path to a configured linux tree' + @echo 'KLIBCKERNELSRC - Path to usr directory containing UAPI headers' @echo 'make V=0|1 [targets] 0 => quiet build (default), 1 => verbose build' @echo 'make V=2 [targets] 2 => give reason for rebuild of target' @echo
Apparently Analagous Threads
- [klibc:master] Makefile: Check for $(KLIBCKERNELSRC)/include directory
- [klibc:master] Kbuild: Remove KLIBCKERNELOBJ variable
- [klibc:master] Makefile: Add dependencies on $(KLIBCKERNELSRC)
- [klibc:master] Simplify build instructions
- [PATCH klibc 0/4] Fix the KLIBCKERNEL{SRC,OBJ} mess