about summary refs log tree commit diff
path: root/Makeconfig
diff options
context:
space:
mode:
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index ee1cc6e79b..43b44c9e87 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -777,7 +777,9 @@ all-Subdirs-files = $(wildcard $(addsuffix /Subdirs, $(config-sysdirs)))
 $(common-objpfx)sysd-dirs: $(common-objpfx)config.make $(all-Subdirs-files)
 	(echo define sysdep-subdirs;				\
 	 sed 's/#.*$$//' $(all-Subdirs-files) /dev/null;	\
-	 echo endef) > $@-tmp
+	 echo endef;						\
+	 echo 'sysd-dirs-done = t';				\
+	) > $@-tmp
 	mv -f $@-tmp $@
 
 endif # Makeconfig not yet included