aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makeconfig b/Makeconfig
index 2245b9d..3e7ddd3 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -927,11 +927,11 @@ $(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"; \
- done < $$d/Depend; \
+ done < $(..)$$d/Depend; \
done; \
for f in $(all-subdirs); do \
echo $$f; \