[klibc] [PATCH klibc 3/4] Makefile: Update help text for KLIBCKERNELSRC

Ben Hutchings ben at decadent.org.uk
Sun Jan 6 20:24:50 PST 2019

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.

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 a11d1e6c7ae0..09f531eda84f 100644
--- a/Makefile
+++ b/Makefile
@@ -99,10 +99,10 @@ $(objtree)/.config: $(srctree)/defconfig
-	@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>."
 rpmbuild = $(shell which rpmbuild 2>/dev/null || which rpm)
@@ -133,7 +133,7 @@ test: klibc
 	@echo	'test		- Run klibc tests'
 	@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'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://www.zytor.com/pipermail/klibc/attachments/20190107/32e81f21/attachment.sig>

More information about the klibc mailing list