Commit b16a755a authored by Damien George's avatar Damien George

py/mkrules.mk: Use "find -path" when searching for frozen obj files.

This allows the command to succeed without error even if there is no
$(BUILD)/build directory, which is the case for mpy-cross.
parent e3383e93
......@@ -135,7 +135,7 @@ $(PROG): $(OBJ)
ifndef DEBUG
$(Q)$(STRIP) $(STRIPFLAGS_EXTRA) $(PROG)
endif
$(Q)$(SIZE) $$(find $(BUILD)/build -name "frozen*.o") $(PROG)
$(Q)$(SIZE) $$(find $(BUILD) -path "$(BUILD)/build/frozen*.o") $(PROG)
clean: clean-prog
clean-prog:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment