Skip to contentSkip to conversation

kbuild: Add a help message for "headers"

PATCH In review Xin Li (Intel) 2 participants 2 messages Mar 12, 2025 – Mar 13, 2025 Kbuild

lore
Share & tools
lore
#0 lore raw

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

Meanwhile explicitly state that the headers are uapi headers.

---

Change in v3:
* Fix a typo and write uapi in capital letters (Nicolas Schier).

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..08918088ab35 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 ready-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 7 lines · Xin Li (Intel)

Meanwhile explicitly state that the headers are uapi headers.

---

Applied to linux-kbuild.
Thanks!

Quoted 25 lines

Change in v3:
* Fix a typo and write uapi in capital letters (Nicolas Schier).

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..08918088ab35 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 ready-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:'
Quoted 4 lines

base-commit: 7eb172143d5508b4da468ed59ee857c6e5e01da6 --
2.48.1

--
Best Regards
Masahiro Yamada