diff options
author | Damien George <damien.p.george@gmail.com> | 2017-08-21 20:32:30 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-08-21 20:32:30 +1000 |
commit | b16a755a0b6f471fff8dc1d29794b9c4105fc093 (patch) | |
tree | e14caa1d2911299509b99fcb822ce4b02949154c /py | |
parent | e3383e9352ca7704e650b07038207719c60b56fb (diff) | |
download | micropython-b16a755a0b6f471fff8dc1d29794b9c4105fc093.tar.gz micropython-b16a755a0b6f471fff8dc1d29794b9c4105fc093.zip |
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.
Diffstat (limited to 'py')
-rw-r--r-- | py/mkrules.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/mkrules.mk b/py/mkrules.mk index de2c92a3f4..bf6ad29410 100644 --- a/py/mkrules.mk +++ b/py/mkrules.mk @@ -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: |