summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriabdalkader <i.abdalkader@gmail.com>2024-01-14 20:22:18 +0200
committerDamien George <damien@micropython.org>2024-01-17 08:14:15 +1100
commit215a982c1469df214b2beda2db5ed8d562040738 (patch)
treee94cb487c4282badb0e598e1bbb9efba10e146ca
parentbdaea866b712c85d3bffaaae147c9b3470a4f896 (diff)
py/py.mk: Remove extra build dir created for frozen_content.
This was originally needed because the .c --> .o rule is: $(BUILD)/%.o: %.c and because the generated frozen_content.c is inside build-FOO, it must therefore generate build-FOO/build-FOO/frozen_content.o. But 2eda5138701d6a7d36f8d8e3700d136b3c1161b7 added a new build rule for pins.c that can also be used for frozen_content.c. Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
-rw-r--r--py/py.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/py.mk b/py/py.mk
index ffb853c65..e81df52fb 100644
--- a/py/py.mk
+++ b/py/py.mk
@@ -203,7 +203,7 @@ PY_O += $(PY_CORE_O)
# object file for frozen code specified via a manifest
ifneq ($(FROZEN_MANIFEST),)
-PY_O += $(BUILD)/$(BUILD)/frozen_content.o
+PY_O += $(BUILD)/frozen_content.o
endif
# Sources that may contain qstrings