Added missing makefile target to build micropython unix port

master
Lukas Schuller 2019-02-26 12:45:10 +01:00
parent 1e893405c5
commit 283992c90d
1 changed files with 4 additions and 1 deletions

View File

@ -45,18 +45,21 @@ check-esp-sdk:
fi fi
.requirements.txt.installed: requirements.txt .requirements.txt.installed: requirements.txt $(MP_UNIX)
cat requirements.txt | xargs -n1 $(MP_UNIX) -m upip install -p $(MOD_DIR) cat requirements.txt | xargs -n1 $(MP_UNIX) -m upip install -p $(MOD_DIR)
touch $@ touch $@
$(MOD_DIR)/%.py: src/%.py $(MOD_DIR)/%.py: src/%.py
ln -s $(shell realpath --relative-to $(MOD_DIR) $<) $@ ln -s $(shell realpath --relative-to $(MOD_DIR) $<) $@
$(MP_UNIX):
make -C micropython/ports/unix
frozen-libs: .requirements.txt.installed $(LIB_SYMLINKS) frozen-libs: .requirements.txt.installed $(LIB_SYMLINKS)
micropython: micropython/ports/esp8266/build/firmware-combined.bin micropython: micropython/ports/esp8266/build/firmware-combined.bin
micropython/ports/esp8266/build/firmware-combined.bin: check-and-reinit-micropython-submodules check-esp-sdk frozen-libs micropython/ports/esp8266/build/firmware-combined.bin: check-and-reinit-micropython-submodules check-esp-sdk frozen-libs
$(MAKE) -C micropython/mpy-cross $(MAKE) -C micropython/mpy-cross
( \ ( \