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.
pull/3276/merge
Damien George 2017-08-21 20:32:30 +10:00
rodzic e3383e9352
commit b16a755a0b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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