Skip to content

Commit 58f4dcd

Browse files
committed
fix(make): fix missing target
1 parent b1c2c1c commit 58f4dcd

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

Makefile

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ TOP = $(PWD)
1717
SHELL = /bin/bash
1818
PATCH = patch -b -N
1919
UNZIP = unzip -q -o
20-
VENDOR_SDK_ZIP = $(VENDOR_SDK_ZIP_$(VENDOR_SDK))
21-
VENDOR_SDK_DIR = $(VENDOR_SDK_DIR_$(VENDOR_SDK))
20+
VENDOR_SDK_ZIP =
21+
# VENDOR_SDK_ZIP = $(VENDOR_SDK_ZIP_$(VENDOR_SDK))
22+
# VENDOR_SDK_DIR = $(VENDOR_SDK_DIR_$(VENDOR_SDK))
23+
VENDOR_SDK_DIR = ESP8266_NONOS_SDK-2.1.1
2224

23-
VENDOR_SDK_ZIP_2.1.1 = ESP8266_NONOS_SDK-2.1.1.zip
24-
VENDOR_SDK_DIR_2.1.1 = ESP8266_NONOS_SDK-2.1.1
25+
# VENDOR_SDK_ZIP_2.1.1 = ESP8266_NONOS_SDK-2.1.1.zip
26+
# VENDOR_SDK_DIR_2.1.1 = ESP8266_NONOS_SDK-2.1.1
2527

2628
all: esptool libcirom standalone sdk sdk_patch $(TOOLCHAIN)/xtensa-lx106-elf/sysroot/usr/lib/libhal.a $(TOOLCHAIN)/bin/xtensa-lx106-elf-gcc lwip
2729
@echo
@@ -124,16 +126,17 @@ _libhal:
124126
sdk: $(VENDOR_SDK_DIR)/.dir
125127
ln -snf $(VENDOR_SDK_DIR) sdk
126128

127-
$(VENDOR_SDK_DIR)/.dir: $(VENDOR_SDK_ZIP)
128-
$(UNZIP) $^
129-
-mv License $(VENDOR_SDK_DIR)
129+
$(VENDOR_SDK_DIR)/.dir: #$(VENDOR_SDK_ZIP)
130+
echo $(VENDOR_SDK_DIR)
131+
git clone --depth 1 -b 2.1.1 https://github.com/homebots/ESP8266_NONOS_SDK $(VENDOR_SDK_DIR)
130132
touch $@
133+
# $(UNZIP) $^
134+
# -mv License $(VENDOR_SDK_DIR)
131135

132-
$(VENDOR_SDK_DIR_2.1.1)/.dir:
133-
echo $(VENDOR_SDK_DIR_2.1.1)
134-
git clone --depth 1 -b 2.1.1 https://github.com/homebots/ESP8266_NONOS_SDK $(VENDOR_SDK_DIR_2.1.1)
135-
(cd $(VENDOR_SDK_DIR_2.1.1);
136-
touch $@
136+
# $(VENDOR_SDK_DIR_2.1.1)/.dir:
137+
# echo $(VENDOR_SDK_DIR_2.1.1)
138+
# git clone --depth 1 -b 2.1.1 https://github.com/homebots/ESP8266_NONOS_SDK $(VENDOR_SDK_DIR_2.1.1)
139+
# touch $@
137140

138141
sdk_patch: $(VENDOR_SDK_DIR)/.dir .sdk_patch_$(VENDOR_SDK)
139142

@@ -161,11 +164,9 @@ ifeq ($(STANDALONE),y)
161164
$(TOOLCHAIN)/xtensa-lx106-elf/sysroot/usr/include/
162165
endif
163166

164-
165-
ESP8266_NONOS_SDK-2.1.0.zip:
166-
wget --content-disposition "https://github.com/espressif/ESP8266_NONOS_SDK/archive/v2.1.0.zip"
167-
# The only change wrt to ESP8266_NONOS_SDK_V2.0.0_16_07_19.zip is licensing blurb in source/
168-
# header files. Libs are the same (and patch is required just the same).
167+
# ESP8266_NONOS_SDK-2.1.1.zip:
168+
# echo $(VENDOR_SDK_DIR_2.1.1)
169+
# wget --content-disposition "https://github.com/espressif/ESP8266_NONOS_SDK/archive/v2.1.0.zip"
169170

170171
FRM_ERR_PATCH.rar:
171172
wget --content-disposition "http://bbs.espressif.com/download/file.php?id=10"

0 commit comments

Comments
 (0)