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.
crypto-aes
Damien George 6 years ago
parent e3383e9352
commit b16a755a0b

@ -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:

Loading…
Cancel
Save