summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Halbert <halbert@adafruit.com>2019-12-16 22:49:46 -0500
committerGitHub <noreply@github.com>2019-12-16 22:49:46 -0500
commit2cb04737f17c019cf8618eb522a9c3046cea5d49 (patch)
tree24b9fbf7bde147cbd96c4d3871597efb3f0c75fb
parent83d1aac671aa994a72f2e5a5833cb61fb86c2944 (diff)
parent201f4648c40c13bdbf91f8cc078c1fbecc09256d (diff)
Merge pull request #2391 from jepler/genhdr-build-error
py.mk: Fix race condition building .mo files
-rw-r--r--py/py.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/py.mk b/py/py.mk
index 0c68e9af1..9031c009f 100644
--- a/py/py.mk
+++ b/py/py.mk
@@ -317,7 +317,7 @@ SRC_QSTR += $(HEADER_BUILD)/moduledefs.h
# overall config, so they need to be caught
MPCONFIGPORT_MK = $(wildcard mpconfigport.mk)
-$(HEADER_BUILD)/$(TRANSLATION).mo: $(TOP)/locale/$(TRANSLATION).po
+$(HEADER_BUILD)/$(TRANSLATION).mo: $(TOP)/locale/$(TRANSLATION).po | $(HEADER_BUILD)
$(Q)msgfmt -o $@ $^
$(HEADER_BUILD)/qstrdefs.preprocessed.h: $(PY_QSTR_DEFS) $(QSTR_DEFS) $(QSTR_DEFS_COLLECTED) mpconfigport.h $(MPCONFIGPORT_MK) $(PY_SRC)/mpconfig.h | $(HEADER_BUILD)