about summary refs log tree commit diff
path: root/mk/lib.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/lib.mk')
-rw-r--r--mk/lib.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/lib.mk b/mk/lib.mk
index 60b6815e9e2e..f093ee8e0d53 100644
--- a/mk/lib.mk
+++ b/mk/lib.mk
@@ -47,7 +47,7 @@ include mk/tests.mk
 
 # Include all sub-Makefiles.
 define include-sub-makefile =
-  d := $$(patsubst %/, %, $$(dir $(1)))
+  d := $$(patsubst %/,%,$$(dir $(1)))
   include $(1)
 endef