From 43eb875f8bb1fe7d53d0fba23972d823f380c68b Mon Sep 17 00:00:00 2001 From: Daniel Serpell Date: Tue, 23 Apr 2024 12:24:10 -0400 Subject: [PATCH] Force update submodule for each source on makefile. This fixes first make invocation on parallel runs. --- rules.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.mak b/rules.mak index 4dd2e5c..038d9f0 100644 --- a/rules.mak +++ b/rules.mak @@ -114,7 +114,7 @@ $(LSATR_HOST): $(LSATR_SRC) | mkatr/src build/bin $(Q)$(CC) $(HOST_CFLAGS) -o $@ $^ # Update mkatr submodule if not found -mkatr/src: +$(sort $(MKATR_SRC) $(LSATR_SRC) mkatr/src) &: $(Q)git submodule update --init mkatr # Target compiler build