Skip to content

Commit a1af8d7

Browse files
committed
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]>
1 parent 3f9070a commit a1af8d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
# Makefile for Sphinx documentation
33
#
44

5-
subdir-y := devicetree/bindings/
5+
# for cleaning
6+
subdir- := devicetree/bindings
67

78
# Check for broken documentation file references
89
ifeq ($(CONFIG_WARN_MISSING_DOCUMENTS),y)

0 commit comments

Comments
 (0)