about summary refs log tree commit diff
path: root/Makeconfig
diff options
context:
space:
mode:
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index c86628433a..3a5780aa5b 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -784,7 +784,7 @@ $(common-objpfx)sysd-dirs: $(common-objpfx)config.make $(all-Subdirs-files)
 all-Depend-files = $(wildcard $(..)*/Depend)
 $(common-objpfx)sysd-sorted: $(..)scripts/gen-sorted.awk $(all-Depend-files) \
 			     $(common-objpfx)sysd-dirs $(..)Makeconfig
-	(dirs='$(patsubst $(..)%/Depend,%,$(filter %/Depend, $^))';	\
+	(dirs='$(patsubst $(..)%/Depend,$(..)%,$(filter %/Depend, $^))';\
 	 for d in $$dirs; do						\
 	   while read on; do						\
 	     echo "depend $$d $$on";					\