2023-01-07 14:54:42

by Miguel Ojeda

[permalink] [raw]
Subject: [PATCH] docs: kbuild: remove mention to dropped $(objtree) feature

From: Miguel Ojeda <[email protected]>

Commit 8d613a1d048c ("kbuild: drop $(objtree)/ prefix support
for clean-files") dropped support for prefixing with $(objtree).

Thus update the documentation to match that change.

Signed-off-by: Miguel Ojeda <[email protected]>
---
Documentation/kbuild/makefiles.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/kbuild/makefiles.rst b/Documentation/kbuild/makefiles.rst
index 6b7368d1f516..38bc74eaa547 100644
--- a/Documentation/kbuild/makefiles.rst
+++ b/Documentation/kbuild/makefiles.rst
@@ -1042,7 +1042,7 @@ $(clean-files).

When executing "make clean", the file "crc32table.h" will be deleted.
Kbuild will assume files to be in the same relative directory as the
-Makefile, except if prefixed with $(objtree).
+Makefile.

To exclude certain files or directories from make clean, use the
$(no-clean-files) variable.

base-commit: 88603b6dc419445847923fcb7fe5080067a30f98
--
2.39.0


2023-01-08 13:45:48

by Masahiro Yamada

[permalink] [raw]
Subject: Re: [PATCH] docs: kbuild: remove mention to dropped $(objtree) feature

On Sat, Jan 7, 2023 at 11:38 PM <[email protected]> wrote:
>
> From: Miguel Ojeda <[email protected]>
>
> Commit 8d613a1d048c ("kbuild: drop $(objtree)/ prefix support
> for clean-files") dropped support for prefixing with $(objtree).
>
> Thus update the documentation to match that change.
>
> Signed-off-by: Miguel Ojeda <[email protected]>


Applied to linux-kbuild/fixes.
Thanks.


> ---
> Documentation/kbuild/makefiles.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/kbuild/makefiles.rst b/Documentation/kbuild/makefiles.rst
> index 6b7368d1f516..38bc74eaa547 100644
> --- a/Documentation/kbuild/makefiles.rst
> +++ b/Documentation/kbuild/makefiles.rst
> @@ -1042,7 +1042,7 @@ $(clean-files).
>
> When executing "make clean", the file "crc32table.h" will be deleted.
> Kbuild will assume files to be in the same relative directory as the
> -Makefile, except if prefixed with $(objtree).
> +Makefile.
>
> To exclude certain files or directories from make clean, use the
> $(no-clean-files) variable.
>
> base-commit: 88603b6dc419445847923fcb7fe5080067a30f98
> --
> 2.39.0
>


--
Best Regards
Masahiro Yamada