Skip to contentSkip to conversation

kbuild: Add a help message for "headers"

PATCH Superseded Xin Li (Intel) 2 participants 2 messages Mar 11, 2025 Kbuild

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 kbuild: Add a help message for "headers"

Meanwhile explicitly state that the headers are uapi headers.

---

Changes in v2:
* Revise the help message for "headers" (Masahiro Yamada).
* Revise the shortlog (Masahiro Yamada).

---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Makefile +2 -1
index 70bdbf2218fc..62afeda58080 100644
@@ -1659,7 +1659,8 @@ help:
 	@echo  '  kernelrelease	  - Output the release version string (use with make -s)'
 	@echo  '  kernelversion	  - Output the version stored in Makefile (use with make -s)'
 	@echo  '  image_name	  - Output the image name (use with make -s)'
-	@echo  '  headers_install - Install sanitised kernel headers to INSTALL_HDR_PATH'; \
+	@echo  '  headers	  - Build read-to-install uapi headers in usr/include'
+	@echo  '  headers_install - Install sanitised kernel uapi headers to INSTALL_HDR_PATH'; \
 	 echo  '                    (default: $(INSTALL_HDR_PATH))'; \
 	 echo  ''
 	@echo  'Static analysers:'

base-commit: 7eb172143d5508b4da468ed59ee857c6e5e01da6

Signature · 1 line
2.48.1
#1 lore raw
Quoted 18 lines · Xin Li (Intel)

Meanwhile explicitly state that the headers are uapi headers.

---

Changes in v2:
* Revise the help message for "headers" (Masahiro Yamada).
* Revise the shortlog (Masahiro Yamada).

---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Makefile +0 -0
index 70bdbf2218fc..62afeda58080 100644

Makefile help: · line 1662

Quoted 5 lines
Makefile +1 -1
@@ -1659,7 +1659,8 @@ help:
 	@echo  '  kernelrelease	  - Output the release version string (use with make -s)'
 	@echo  '  kernelversion	  - Output the version stored in Makefile (use with make -s)'
 	@echo  '  image_name	  - Output the image name (use with make -s)'
-	@echo  '  headers_install - Install sanitised kernel headers to INSTALL_HDR_PATH'; \
+	@echo  '  headers	  - Build read-to-install uapi headers in usr/include'

ready-to-install (a 'y' is missing)

Makefile help: · line 1663

Quoted 1 line
Makefile +1 -0
+	@echo  '  headers_install - Install sanitised kernel uapi headers to INSTALL_HDR_PATH'; \

In documentation and comments, UAPI is written in capital letters. I think it would be good to keep it this way here, too.

Kind regards,
Nicolas