Documentation/kbuild/makefiles.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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(-)
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
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 > -- Best Regards Masahiro Yamada
© 2016 - 2025 Red Hat, Inc.