* [PATCH v1 1/1] kbuild: Add "make headers" to "make help" output
@ 2025-03-08 4:04 Xin Li (Intel)
2025-03-08 10:34 ` Borislav Petkov
2025-03-08 15:12 ` Masahiro Yamada
0 siblings, 2 replies; 16+ messages in thread
From: Xin Li (Intel) @ 2025-03-08 4:04 UTC (permalink / raw)
To: linux-kernel, linux-kbuild; +Cc: masahiroy, nathan, nicolas, bp, hpa, sraithal
Meanwhile explicitly state that the headers are uapi headers.
Suggested-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: Xin Li (Intel) <xin@zytor.com>
---
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 70bdbf2218fc..8f5aa710105e 100644
--- a/Makefile
+++ b/Makefile
@@ -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 - Install sanitised kernel uapi headers to 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
--
2.48.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [PATCH v1 1/1] kbuild: Add "make headers" to "make help" output
2025-03-08 4:04 [PATCH v1 1/1] kbuild: Add "make headers" to "make help" output Xin Li (Intel)
@ 2025-03-08 10:34 ` Borislav Petkov
2025-03-08 15:15 ` Masahiro Yamada
2025-03-08 15:12 ` Masahiro Yamada
1 sibling, 1 reply; 16+ messages in thread
From: Borislav Petkov @ 2025-03-08 10:34 UTC (permalink / raw)
To: Xin Li (Intel)
Cc: linux-kernel, linux-kbuild, masahiroy, nathan, nicolas, hpa,
sraithal
On Fri, Mar 07, 2025 at 08:04:51PM -0800, Xin Li (Intel) wrote:
> Meanwhile explicitly state that the headers are uapi headers.
>
> Suggested-by: Borislav Petkov <bp@alien8.de>
> Signed-off-by: Xin Li (Intel) <xin@zytor.com>
> ---
> Makefile | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index 70bdbf2218fc..8f5aa710105e 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -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 - Install sanitised kernel uapi headers to usr/include'
^^^^^^^^^^^
It is INSTALL_HDR_PATH too, try:
make O=/tmp/b/ headers
for example.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v1 1/1] kbuild: Add "make headers" to "make help" output
2025-03-08 4:04 [PATCH v1 1/1] kbuild: Add "make headers" to "make help" output Xin Li (Intel)
2025-03-08 10:34 ` Borislav Petkov
@ 2025-03-08 15:12 ` Masahiro Yamada
2025-03-08 16:01 ` H. Peter Anvin
2025-03-10 6:22 ` Xin Li
1 sibling, 2 replies; 16+ messages in thread
From: Masahiro Yamada @ 2025-03-08 15:12 UTC (permalink / raw)
To: Xin Li (Intel)
Cc: linux-kernel, linux-kbuild, nathan, nicolas, bp, hpa, sraithal
On Sat, Mar 8, 2025 at 1:05 PM Xin Li (Intel) <xin@zytor.com> wrote:
>
> Meanwhile explicitly state that the headers are uapi headers.
There are many internal-use targets, which are not documented in the
help message.
I assume this one is the case.
If users want to install UAPI headers, 'headers_install' is
the user-visible interface and it is already documented.
> Suggested-by: Borislav Petkov <bp@alien8.de>
> Signed-off-by: Xin Li (Intel) <xin@zytor.com>
> ---
> Makefile | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index 70bdbf2218fc..8f5aa710105e 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -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 - Install sanitised kernel uapi headers to 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
> --
> 2.48.1
>
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v1 1/1] kbuild: Add "make headers" to "make help" output
2025-03-08 10:34 ` Borislav Petkov
@ 2025-03-08 15:15 ` Masahiro Yamada
2025-03-08 16:34 ` Borislav Petkov
0 siblings, 1 reply; 16+ messages in thread
From: Masahiro Yamada @ 2025-03-08 15:15 UTC (permalink / raw)
To: Borislav Petkov
Cc: Xin Li (Intel), linux-kernel, linux-kbuild, nathan, nicolas, hpa,
sraithal
On Sat, Mar 8, 2025 at 7:35 PM Borislav Petkov <bp@alien8.de> wrote:
>
> On Fri, Mar 07, 2025 at 08:04:51PM -0800, Xin Li (Intel) wrote:
> > Meanwhile explicitly state that the headers are uapi headers.
> >
> > Suggested-by: Borislav Petkov <bp@alien8.de>
> > Signed-off-by: Xin Li (Intel) <xin@zytor.com>
> > ---
> > Makefile | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/Makefile b/Makefile
> > index 70bdbf2218fc..8f5aa710105e 100644
> > --- a/Makefile
> > +++ b/Makefile
> > @@ -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 - Install sanitised kernel uapi headers to usr/include'
> ^^^^^^^^^^^
>
> It is INSTALL_HDR_PATH too, try:
>
> make O=/tmp/b/ headers
>
> for example.
No. usr/include
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v1 1/1] kbuild: Add "make headers" to "make help" output
2025-03-08 15:12 ` Masahiro Yamada
@ 2025-03-08 16:01 ` H. Peter Anvin
2025-03-08 16:41 ` Borislav Petkov
2025-03-10 6:22 ` Xin Li
1 sibling, 1 reply; 16+ messages in thread
From: H. Peter Anvin @ 2025-03-08 16:01 UTC (permalink / raw)
To: Masahiro Yamada, Xin Li (Intel)
Cc: linux-kernel, linux-kbuild, nathan, nicolas, bp, sraithal
On March 8, 2025 7:12:59 AM PST, Masahiro Yamada <masahiroy@kernel.org> wrote:
>On Sat, Mar 8, 2025 at 1:05 PM Xin Li (Intel) <xin@zytor.com> wrote:
>>
>> Meanwhile explicitly state that the headers are uapi headers.
>
>There are many internal-use targets, which are not documented in the
>help message.
>I assume this one is the case.
>
>If users want to install UAPI headers, 'headers_install' is
>the user-visible interface and it is already documented.
>
>
>
>
>
>> Suggested-by: Borislav Petkov <bp@alien8.de>
>> Signed-off-by: Xin Li (Intel) <xin@zytor.com>
>> ---
>> Makefile | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/Makefile b/Makefile
>> index 70bdbf2218fc..8f5aa710105e 100644
>> --- a/Makefile
>> +++ b/Makefile
>> @@ -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 - Install sanitised kernel uapi headers to 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
>> --
>> 2.48.1
>>
>
>
>--
>Best Regards
>Masahiro Yamada
>
Unfortunately it seems users haven't been following that :(
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v1 1/1] kbuild: Add "make headers" to "make help" output
2025-03-08 15:15 ` Masahiro Yamada
@ 2025-03-08 16:34 ` Borislav Petkov
0 siblings, 0 replies; 16+ messages in thread
From: Borislav Petkov @ 2025-03-08 16:34 UTC (permalink / raw)
To: Masahiro Yamada
Cc: Xin Li (Intel), linux-kernel, linux-kbuild, nathan, nicolas, hpa,
sraithal
On Sun, Mar 09, 2025 at 12:15:21AM +0900, Masahiro Yamada wrote:
> > It is INSTALL_HDR_PATH too, try:
> >
> > make O=/tmp/b/ headers
> >
> > for example.
>
> No. usr/include
Yes, ok, "usr/include" is a relative path but it should at least say
*relative* to the current output directory so that it is perfectly clear.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v1 1/1] kbuild: Add "make headers" to "make help" output
2025-03-08 16:01 ` H. Peter Anvin
@ 2025-03-08 16:41 ` Borislav Petkov
2025-03-08 16:47 ` H. Peter Anvin
0 siblings, 1 reply; 16+ messages in thread
From: Borislav Petkov @ 2025-03-08 16:41 UTC (permalink / raw)
To: H. Peter Anvin
Cc: Masahiro Yamada, Xin Li (Intel), linux-kernel, linux-kbuild,
nathan, nicolas, sraithal
On Sat, Mar 08, 2025 at 08:01:56AM -0800, H. Peter Anvin wrote:
> Unfortunately it seems users haven't been following that :(
If by "users haven't been following that" you mean they've been doing
make kselftest
in order to run selftests and *that* thing builds headers, then yes, you're
right.
Oh look:
PHONY += kselftest
kselftest: headers
^^^^^^^^
$(Q)$(MAKE) -C $(srctree)/tools/testing/selftests run_tests
:-P
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v1 1/1] kbuild: Add "make headers" to "make help" output
2025-03-08 16:41 ` Borislav Petkov
@ 2025-03-08 16:47 ` H. Peter Anvin
2025-03-08 16:49 ` Borislav Petkov
0 siblings, 1 reply; 16+ messages in thread
From: H. Peter Anvin @ 2025-03-08 16:47 UTC (permalink / raw)
To: Borislav Petkov
Cc: Masahiro Yamada, Xin Li (Intel), linux-kernel, linux-kbuild,
nathan, nicolas, sraithal
On March 8, 2025 8:41:51 AM PST, Borislav Petkov <bp@alien8.de> wrote:
>On Sat, Mar 08, 2025 at 08:01:56AM -0800, H. Peter Anvin wrote:
>> Unfortunately it seems users haven't been following that :(
>
>If by "users haven't been following that" you mean they've been doing
>
>make kselftest
>
>in order to run selftests and *that* thing builds headers, then yes, you're
>right.
>
>Oh look:
>
>PHONY += kselftest
>kselftest: headers
> ^^^^^^^^
> $(Q)$(MAKE) -C $(srctree)/tools/testing/selftests run_tests
>
>:-P
>
That's not the only one. Point being that users have been using it so it is better to make it official than breaking it.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v1 1/1] kbuild: Add "make headers" to "make help" output
2025-03-08 16:47 ` H. Peter Anvin
@ 2025-03-08 16:49 ` Borislav Petkov
0 siblings, 0 replies; 16+ messages in thread
From: Borislav Petkov @ 2025-03-08 16:49 UTC (permalink / raw)
To: H. Peter Anvin
Cc: Masahiro Yamada, Xin Li (Intel), linux-kernel, linux-kbuild,
nathan, nicolas, sraithal
On Sat, Mar 08, 2025 at 08:47:44AM -0800, H. Peter Anvin wrote:
> That's not the only one. Point being that users have been using it so it is
> better to make it official than breaking it.
Yap, it ain't internal anymore - that's for sure.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v1 1/1] kbuild: Add "make headers" to "make help" output
2025-03-08 15:12 ` Masahiro Yamada
2025-03-08 16:01 ` H. Peter Anvin
@ 2025-03-10 6:22 ` Xin Li
2025-03-11 1:52 ` Masahiro Yamada
1 sibling, 1 reply; 16+ messages in thread
From: Xin Li @ 2025-03-10 6:22 UTC (permalink / raw)
To: Masahiro Yamada
Cc: linux-kernel, linux-kbuild, nathan, nicolas, bp, hpa, sraithal
On 3/8/2025 7:12 AM, Masahiro Yamada wrote:
> On Sat, Mar 8, 2025 at 1:05 PM Xin Li (Intel) <xin@zytor.com> wrote:
>>
>> Meanwhile explicitly state that the headers are uapi headers.
>
> There are many internal-use targets, which are not documented in the
> help message.
> I assume this one is the case.
>
> If users want to install UAPI headers, 'headers_install' is
> the user-visible interface and it is already documented.
>
>
hpa and Boris prefer to add it, which I also agree. But ofc it's your
call :)
If you don't want to add help for "headers", it probably still makes
sense to explicitly state that the headers are uapi headers, no?
Thanks!
Xin
>
>
>
>> Suggested-by: Borislav Petkov <bp@alien8.de>
>> Signed-off-by: Xin Li (Intel) <xin@zytor.com>
>> ---
>> Makefile | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/Makefile b/Makefile
>> index 70bdbf2218fc..8f5aa710105e 100644
>> --- a/Makefile
>> +++ b/Makefile
>> @@ -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 - Install sanitised kernel uapi headers to 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
>> --
>> 2.48.1
>>
>
>
> --
> Best Regards
> Masahiro Yamada
>
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v1 1/1] kbuild: Add "make headers" to "make help" output
2025-03-10 6:22 ` Xin Li
@ 2025-03-11 1:52 ` Masahiro Yamada
2025-03-11 2:13 ` Masahiro Yamada
2025-03-11 2:19 ` Xin Li
0 siblings, 2 replies; 16+ messages in thread
From: Masahiro Yamada @ 2025-03-11 1:52 UTC (permalink / raw)
To: Xin Li; +Cc: linux-kernel, linux-kbuild, nathan, nicolas, bp, hpa, sraithal
On Mon, Mar 10, 2025 at 3:23 PM Xin Li <xin@zytor.com> wrote:
>
> On 3/8/2025 7:12 AM, Masahiro Yamada wrote:
> > On Sat, Mar 8, 2025 at 1:05 PM Xin Li (Intel) <xin@zytor.com> wrote:
> >>
> >> Meanwhile explicitly state that the headers are uapi headers.
> >
> > There are many internal-use targets, which are not documented in the
> > help message.
> > I assume this one is the case.
> >
> > If users want to install UAPI headers, 'headers_install' is
> > the user-visible interface and it is already documented.
> >
> >
>
> hpa and Boris prefer to add it, which I also agree. But ofc it's your
> call :)
>
> If you don't want to add help for "headers", it probably still makes
> sense to explicitly state that the headers are uapi headers, no?
>
> Thanks!
> Xin
If a help message for "headers" is desired, how about this?
headers - Build read-to-install uapi headers in usr/include
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v1 1/1] kbuild: Add "make headers" to "make help" output
2025-03-11 1:52 ` Masahiro Yamada
@ 2025-03-11 2:13 ` Masahiro Yamada
2025-03-11 2:17 ` Xin Li
2025-03-11 2:19 ` Xin Li
1 sibling, 1 reply; 16+ messages in thread
From: Masahiro Yamada @ 2025-03-11 2:13 UTC (permalink / raw)
To: Xin Li; +Cc: linux-kernel, linux-kbuild, nathan, nicolas, bp, hpa, sraithal
On Tue, Mar 11, 2025 at 10:52 AM Masahiro Yamada <masahiroy@kernel.org> wrote:
>
> On Mon, Mar 10, 2025 at 3:23 PM Xin Li <xin@zytor.com> wrote:
> >
> > On 3/8/2025 7:12 AM, Masahiro Yamada wrote:
> > > On Sat, Mar 8, 2025 at 1:05 PM Xin Li (Intel) <xin@zytor.com> wrote:
> > >>
> > >> Meanwhile explicitly state that the headers are uapi headers.
> > >
> > > There are many internal-use targets, which are not documented in the
> > > help message.
> > > I assume this one is the case.
> > >
> > > If users want to install UAPI headers, 'headers_install' is
> > > the user-visible interface and it is already documented.
> > >
> > >
> >
> > hpa and Boris prefer to add it, which I also agree. But ofc it's your
> > call :)
> >
> > If you don't want to add help for "headers", it probably still makes
> > sense to explicitly state that the headers are uapi headers, no?
> >
> > Thanks!
> > Xin
>
>
> If a help message for "headers" is desired, how about this?
>
> headers - Build read-to-install uapi headers in usr/include
For clarification, the following is the rationale.
Build Installation
-------------------------------------
vmlinux install
modules modules_install
dtbs dtbs_install
headers headers_install
In Kbuild, the Build and Installation are separate steps,
since the latter usually requires the root permission.
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v1 1/1] kbuild: Add "make headers" to "make help" output
2025-03-11 2:13 ` Masahiro Yamada
@ 2025-03-11 2:17 ` Xin Li
0 siblings, 0 replies; 16+ messages in thread
From: Xin Li @ 2025-03-11 2:17 UTC (permalink / raw)
To: Masahiro Yamada
Cc: linux-kernel, linux-kbuild, nathan, nicolas, bp, hpa, sraithal
On 3/10/2025 7:13 PM, Masahiro Yamada wrote:
> On Tue, Mar 11, 2025 at 10:52 AM Masahiro Yamada <masahiroy@kernel.org> wrote:
>>
>> On Mon, Mar 10, 2025 at 3:23 PM Xin Li <xin@zytor.com> wrote:
>>>
>>> On 3/8/2025 7:12 AM, Masahiro Yamada wrote:
>>>> On Sat, Mar 8, 2025 at 1:05 PM Xin Li (Intel) <xin@zytor.com> wrote:
>>>>>
>>>>> Meanwhile explicitly state that the headers are uapi headers.
>>>>
>>>> There are many internal-use targets, which are not documented in the
>>>> help message.
>>>> I assume this one is the case.
>>>>
>>>> If users want to install UAPI headers, 'headers_install' is
>>>> the user-visible interface and it is already documented.
>>>>
>>>>
>>>
>>> hpa and Boris prefer to add it, which I also agree. But ofc it's your
>>> call :)
>>>
>>> If you don't want to add help for "headers", it probably still makes
>>> sense to explicitly state that the headers are uapi headers, no?
>>>
>>> Thanks!
>>> Xin
>>
>>
>> If a help message for "headers" is desired, how about this?
>>
>> headers - Build read-to-install uapi headers in usr/include
>
>
>
>
> For clarification, the following is the rationale.
>
>
> Build Installation
> -------------------------------------
> vmlinux install
> modules modules_install
> dtbs dtbs_install
> headers headers_install
>
>
>
> In Kbuild, the Build and Installation are separate steps,
> since the latter usually requires the root permission.
>
Oh, I didn't realize, thanks for making it clear.
Xin
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v1 1/1] kbuild: Add "make headers" to "make help" output
2025-03-11 1:52 ` Masahiro Yamada
2025-03-11 2:13 ` Masahiro Yamada
@ 2025-03-11 2:19 ` Xin Li
2025-03-11 2:40 ` Masahiro Yamada
1 sibling, 1 reply; 16+ messages in thread
From: Xin Li @ 2025-03-11 2:19 UTC (permalink / raw)
To: Masahiro Yamada
Cc: linux-kernel, linux-kbuild, nathan, nicolas, bp, hpa, sraithal
On 3/10/2025 6:52 PM, Masahiro Yamada wrote:
> On Mon, Mar 10, 2025 at 3:23 PM Xin Li <xin@zytor.com> wrote:
>>
>> On 3/8/2025 7:12 AM, Masahiro Yamada wrote:
>>> On Sat, Mar 8, 2025 at 1:05 PM Xin Li (Intel) <xin@zytor.com> wrote:
>>>>
>>>> Meanwhile explicitly state that the headers are uapi headers.
>>>
>>> There are many internal-use targets, which are not documented in the
>>> help message.
>>> I assume this one is the case.
>>>
>>> If users want to install UAPI headers, 'headers_install' is
>>> the user-visible interface and it is already documented.
>>>
>>>
>>
>> hpa and Boris prefer to add it, which I also agree. But ofc it's your
>> call :)
>>
>> If you don't want to add help for "headers", it probably still makes
>> sense to explicitly state that the headers are uapi headers, no?
>>
>> Thanks!
>> Xin
>
>
> If a help message for "headers" is desired, how about this?
>
> headers - Build read-to-install uapi headers in usr/include
>
LGTM.
I guess you will make the change right now?
Thanks!
Xin
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v1 1/1] kbuild: Add "make headers" to "make help" output
2025-03-11 2:19 ` Xin Li
@ 2025-03-11 2:40 ` Masahiro Yamada
2025-03-11 2:43 ` Xin Li
0 siblings, 1 reply; 16+ messages in thread
From: Masahiro Yamada @ 2025-03-11 2:40 UTC (permalink / raw)
To: Xin Li; +Cc: linux-kernel, linux-kbuild, nathan, nicolas, bp, hpa, sraithal
On Tue, Mar 11, 2025 at 11:19 AM Xin Li <xin@zytor.com> wrote:
>
> On 3/10/2025 6:52 PM, Masahiro Yamada wrote:
> > On Mon, Mar 10, 2025 at 3:23 PM Xin Li <xin@zytor.com> wrote:
> >>
> >> On 3/8/2025 7:12 AM, Masahiro Yamada wrote:
> >>> On Sat, Mar 8, 2025 at 1:05 PM Xin Li (Intel) <xin@zytor.com> wrote:
> >>>>
> >>>> Meanwhile explicitly state that the headers are uapi headers.
> >>>
> >>> There are many internal-use targets, which are not documented in the
> >>> help message.
> >>> I assume this one is the case.
> >>>
> >>> If users want to install UAPI headers, 'headers_install' is
> >>> the user-visible interface and it is already documented.
> >>>
> >>>
> >>
> >> hpa and Boris prefer to add it, which I also agree. But ofc it's your
> >> call :)
> >>
> >> If you don't want to add help for "headers", it probably still makes
> >> sense to explicitly state that the headers are uapi headers, no?
> >>
> >> Thanks!
> >> Xin
> >
> >
> > If a help message for "headers" is desired, how about this?
> >
> > headers - Build read-to-install uapi headers in usr/include
> >
>
> LGTM.
>
> I guess you will make the change right now?
>
I will not do it myself, but I just suggested a change for v2.
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v1 1/1] kbuild: Add "make headers" to "make help" output
2025-03-11 2:40 ` Masahiro Yamada
@ 2025-03-11 2:43 ` Xin Li
0 siblings, 0 replies; 16+ messages in thread
From: Xin Li @ 2025-03-11 2:43 UTC (permalink / raw)
To: Masahiro Yamada
Cc: linux-kernel, linux-kbuild, nathan, nicolas, bp, hpa, sraithal
On 3/10/2025 7:40 PM, Masahiro Yamada wrote:
>>> If a help message for "headers" is desired, how about this?
>>>
>>> headers - Build read-to-install uapi headers in usr/include
>>>
>>
>> LGTM.
>>
>> I guess you will make the change right now?
>>
>
> I will not do it myself, but I just suggested a change for v2.
>
I will take care of it then.
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2025-03-11 2:44 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-08 4:04 [PATCH v1 1/1] kbuild: Add "make headers" to "make help" output Xin Li (Intel)
2025-03-08 10:34 ` Borislav Petkov
2025-03-08 15:15 ` Masahiro Yamada
2025-03-08 16:34 ` Borislav Petkov
2025-03-08 15:12 ` Masahiro Yamada
2025-03-08 16:01 ` H. Peter Anvin
2025-03-08 16:41 ` Borislav Petkov
2025-03-08 16:47 ` H. Peter Anvin
2025-03-08 16:49 ` Borislav Petkov
2025-03-10 6:22 ` Xin Li
2025-03-11 1:52 ` Masahiro Yamada
2025-03-11 2:13 ` Masahiro Yamada
2025-03-11 2:17 ` Xin Li
2025-03-11 2:19 ` Xin Li
2025-03-11 2:40 ` Masahiro Yamada
2025-03-11 2:43 ` Xin Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox