docs: kbuild: remove mention to dropped $(objtree) feature

Message ID 20230107143747.64802-1-ojeda@kernel.org
State New
Headers
Series docs: kbuild: remove mention to dropped $(objtree) feature |

Commit Message

Miguel Ojeda Jan. 7, 2023, 2:37 p.m. UTC
  From: Miguel Ojeda <ojeda@kernel.org>

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 <ojeda@kernel.org>
---
 Documentation/kbuild/makefiles.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


base-commit: 88603b6dc419445847923fcb7fe5080067a30f98
  

Comments

Masahiro Yamada Jan. 8, 2023, 12:51 p.m. UTC | #1
On Sat, Jan 7, 2023 at 11:38 PM <ojeda@kernel.org> wrote:
>
> From: Miguel Ojeda <ojeda@kernel.org>
>
> 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 <ojeda@kernel.org>


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
>
  

Patch

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.