kbuild: remove trailing slash from devicetree/binding/ for descending
Subsystems (2)
PATCH 1/1 kbuild: remove trailing slash from devicetree/binding/ for descending
obj-* needs a trailing slash for a directory, but subdir-* does not because it already implies a directory.
Also, change subdir-y to subdir- to ensure this is effective only for cleaning targets.
This makes the cleaning log consistent. (no trailing slash)
Before:
$ make clean CLEAN Documentation/devicetree/bindings/
After:
$ make clean CLEAN Documentation/devicetree/bindings
Signed-off-by Masahiro Yamada <[email protected]>
---
Documentation/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/Makefile +2 -1
@@ -2,7 +2,8 @@ # Makefile for Sphinx documentation # -subdir-y := devicetree/bindings/ +# for cleaning +subdir- := devicetree/bindings # Check for broken documentation file references ifeq ($(CONFIG_WARN_MISSING_DOCUMENTS),y)
Signature · 1 line
2.17.1
Quoted 14 lines · Masahiro Yamada
obj-* needs a trailing slash for a directory, but subdir-* does not because it already implies a directory.
Also, change subdir-y to subdir- to ensure this is effective only for cleaning targets.
This makes the cleaning log consistent. (no trailing slash)
Before:
$ make clean CLEAN Documentation/devicetree/bindings/
Quoted 7 lines
After:
$ make clean CLEAN Documentation/devicetree/bindingsSigned-off-by Masahiro Yamada <[email protected]>---
Applied to linux-kbuild.
Quoted 21 lines
Documentation/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)Documentation/Makefile +2
-2@@ -2,7 +2,8 @@ # Makefile for Sphinx documentation # -subdir-y := devicetree/bindings/ +# for cleaning +subdir- := devicetree/bindings # Check for broken documentation file references ifeq ($(CONFIG_WARN_MISSING_DOCUMENTS),y) --2.17.1
Signature · 2 lines
Best Regards Masahiro Yamada