From 499c0d78663e97dd74f2976a34e45f4c5b7a6448 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 27 Apr 2003 18:36:13 +0000 Subject: 2003-04-27 Andreas Schwab * Makeconfig ($(common-objpfx)sysd-sorted): Fix for running in subdirectory. --- Makeconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makeconfig') diff --git a/Makeconfig b/Makeconfig index 2245b9dc7d..3e7ddd3656 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; \ -- cgit 1.4.1