summaryrefslogtreecommitdiff
path: root/py/mkrules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'py/mkrules.mk')
-rw-r--r--py/mkrules.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/py/mkrules.mk b/py/mkrules.mk
index 9ed5483b2..656ffd03c 100644
--- a/py/mkrules.mk
+++ b/py/mkrules.mk
@@ -46,6 +46,12 @@ vpath %.c . $(TOP)
$(BUILD)/%.o: %.c
$(call compile_c)
+# frozen.c and frozen_mpy.c are created in $(BUILD), so use our rule
+# for those as well.
+vpath %.c . $(BUILD)
+$(BUILD)/%.o: %.c
+ $(call compile_c)
+
# List all native flags since the current build system doesn't have
# the MicroPython configuration available. However, these flags are
# needed to extract all qstrings