diff options
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -56,5 +56,6 @@ PY_PATH != $(cli) compile --show-properties | sed -ne 's/^runtime.tools.python3. | |||
56 | MDNS_IP != getent ahostsv4 $(MDNS_NAME).local | (read ip _; echo $$ip) | 56 | MDNS_IP != getent ahostsv4 $(MDNS_NAME).local | (read ip _; echo $$ip) |
57 | 57 | ||
58 | ota: $(BIN) | 58 | ota: $(BIN) |
59 | [ "$(MDNS_IP)" ] | ||
59 | "$(PY_PATH)/python3" "$(PLAT_PATH)/tools/espota.py" -i "$(MDNS_IP)" -p "$(OTA_PORT)" --auth="$(OTA_PASS)" -f "$(BIN)" | 60 | "$(PY_PATH)/python3" "$(PLAT_PATH)/tools/espota.py" -i "$(MDNS_IP)" -p "$(OTA_PORT)" --auth="$(OTA_PASS)" -f "$(BIN)" |
60 | 61 | ||