summaryrefslogtreecommitdiffstatshomepage
path: root/py/py.mk
diff options
context:
space:
mode:
authorSven Wegener <sven.wegener@stealer.net>2014-11-06 09:25:44 +0100
committerDamien George <damien.p.george@gmail.com>2014-11-06 18:48:38 +0000
commitb98c162c522852d93ab55b64aae21188baba7f5a (patch)
tree5ee1fbec0c119d91f6fd04e3062f7f3b6c8e194f /py/py.mk
parent1e9a92f84fb58db610e20b766052292edc28d25b (diff)
downloadmicropython-b98c162c522852d93ab55b64aae21188baba7f5a.tar.gz
micropython-b98c162c522852d93ab55b64aae21188baba7f5a.zip
py: Fix order-only dependencies in mkrules.mk and py.mk.
Currently compilation sporadically fails, because the automatic dependency gets created *during* the compilation of objects. OBJ is a auperset of PY_O and the dependencies apply to all objects. Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Diffstat (limited to 'py/py.mk')
-rw-r--r--py/py.mk7
1 files changed, 0 insertions, 7 deletions
diff --git a/py/py.mk b/py/py.mk
index 097516952c..fe6220bac6 100644
--- a/py/py.mk
+++ b/py/py.mk
@@ -137,13 +137,6 @@ $(HEADER_BUILD)/qstrdefs.generated.h: $(PY_QSTR_DEFS) $(QSTR_DEFS) $(PY_SRC)/mak
$(ECHO) "makeqstrdata $(PY_QSTR_DEFS) $(QSTR_DEFS)"
$(Q)$(PYTHON) $(PY_SRC)/makeqstrdata.py $(HEADER_BUILD)/qstrdefs.preprocessed.h $(QSTR_DEFS) > $@
-# We don't know which source files actually need the generated.h (since
-# it is #included from str.h). The compiler generated dependencies will cause
-# the right .o's to get recompiled if the generated.h file changes. Adding
-# an order-only dependendency to all of the .o's will cause the generated .h
-# to get built before we try to compile any of them.
-$(PY_O): | $(HEADER_BUILD)/qstrdefs.generated.h $(HEADER_BUILD)/py-version.h
-
# emitters
$(PY_BUILD)/emitnx64.o: CFLAGS += -DN_X64