From b0f23786da8c9ad9eff44d961cb159604e7d5272 Mon Sep 17 00:00:00 2001
From: Paul Sokolovsky <pfalcon@users.sourceforge.net>
Date: Wed, 4 Jan 2017 10:36:28 +0300
Subject: [PATCH] esp8266/Makefile: Put firmware-ota.bin in build/, for
 consistency.

---
 esp8266/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/esp8266/Makefile b/esp8266/Makefile
index 5c66a93e3..1d50a0fb3 100644
--- a/esp8266/Makefile
+++ b/esp8266/Makefile
@@ -203,7 +203,7 @@ $(BUILD)/firmware.elf: $(OBJ)
 
 ota:
 	rm -f $(BUILD)/firmware.elf $(BUILD)/firmware.elf*.bin
-	$(MAKE) LDSCRIPT=esp8266_ota.ld FWBIN=firmware-ota.bin
+	$(MAKE) LDSCRIPT=esp8266_ota.ld FWBIN=$(BUILD)/firmware-ota.bin
 
 #MAKE_PINS = boards/make-pins.py
 #BOARD_PINS = boards/$(BOARD)/pins.csv
-- 
GitLab