about summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makerules b/Makerules
index 2ee7e7e278..d64f35254b 100644
--- a/Makerules
+++ b/Makerules
@@ -278,7 +278,7 @@ no_deps=t
 endif
 
 # Generate version maps, but wait until sysdep-subdirs is known
-ifdef sysd-dirs-done
+ifeq ($(sysd-sorted-done),t)
 ifeq ($(versioning),yes)
 -include $(common-objpfx)sysd-versions
 $(addprefix $(common-objpfx),$(version-maps)): $(common-objpfx)sysd-versions
@@ -313,7 +313,7 @@ $(common-objpfx)sysd-versions: $(common-objpfx)Versions.all \
 	mv -f $@T $@
 endif # avoid-generated
 endif # $(versioning) = yes
-endif # sysd-dirs-done
+endif # sysd-sorted-done
 
 
 ifndef compile-command.S