Compare commits

...

2 Commits

Author SHA1 Message Date
Lukas Schuller c077c4a0b3 Added .requirements.txt.installed to .gitignore 2019-02-26 12:45:40 +01:00
Lukas Schuller 283992c90d Added missing makefile target to build micropython unix port 2019-02-26 12:45:10 +01:00
2 changed files with 5 additions and 1 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
*.mpy
.requirements.txt.installed

View File

@ -45,18 +45,21 @@ check-esp-sdk:
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)
touch $@
$(MOD_DIR)/%.py: src/%.py
ln -s $(shell realpath --relative-to $(MOD_DIR) $<) $@
$(MP_UNIX):
make -C micropython/ports/unix
frozen-libs: .requirements.txt.installed $(LIB_SYMLINKS)
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
$(MAKE) -C micropython/mpy-cross
( \