diff options
Diffstat (limited to 'src/main/Makefile')
-rw-r--r-- | src/main/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/Makefile b/src/main/Makefile index 023ef7b..d27d024 100644 --- a/src/main/Makefile +++ b/src/main/Makefile | |||
@@ -118,7 +118,7 @@ all: $(ELF) | |||
118 | compile: $(ELF) | 118 | compile: $(ELF) |
119 | .PHONY: compile | 119 | .PHONY: compile |
120 | 120 | ||
121 | $(ELF): $(SRC) $(HDRS) | 121 | $(BIN) $(ELF): $(SRC) $(HDRS) |
122 | arduino-cli compile -b $(FQBN) $(VFLAG) | 122 | arduino-cli compile -b $(FQBN) $(VFLAG) |
123 | @if which arduino-manifest.pl; \ | 123 | @if which arduino-manifest.pl; \ |
124 | then echo "---> Generating manifest.txt"; \ | 124 | then echo "---> Generating manifest.txt"; \ |
@@ -138,7 +138,7 @@ PLAT_PATH != arduino-cli compile -b "$(FQBN)" --show-properties | grep '^runtime | |||
138 | PY_PATH != arduino-cli compile -b "$(FQBN)" --show-properties | grep '^runtime.tools.python3.path' | awk -F= '{print $$2}' | 138 | PY_PATH != arduino-cli compile -b "$(FQBN)" --show-properties | grep '^runtime.tools.python3.path' | awk -F= '{print $$2}' |
139 | IOT_IP != getent ahostsv4 mush.local | (read ip _; echo $$ip) | 139 | IOT_IP != getent ahostsv4 mush.local | (read ip _; echo $$ip) |
140 | 140 | ||
141 | ota: | 141 | ota: $(BIN) |
142 | "$(PY_PATH)/python3" "$(PLAT_PATH)/tools/espota.py" -i "$(IOT_IP)" -p "$(OTA_PORT)" --auth="$(OTA_PASS)" -f "$(BIN)" | 142 | "$(PY_PATH)/python3" "$(PLAT_PATH)/tools/espota.py" -i "$(IOT_IP)" -p "$(OTA_PORT)" --auth="$(OTA_PASS)" -f "$(BIN)" |
143 | 143 | ||
144 | clean: | 144 | clean: |