diff --git a/Makefile b/Makefile index 3ef65373..9047b6b9 100644 --- a/Makefile +++ b/Makefile @@ -13,10 +13,8 @@ SDK_BASE_VER:=1.5.4 SDK_DIR_DEPENDS:=sdk_patched SDK_FILE_VER:=$(SDK_BASE_VER)_16_05_20 -SDK_FILE_ID:=1469 SDK_FILE_SHA1:=868784bd37d47f31d52b81f133aa1fb70c58e17d SDK_PATCH_VER:=$(SDK_VER)_patch_20160704 -SDK_PATCH_ID:=1572 SDK_PATCH_SHA1:=388d9e91df74e3b49fca126da482cf822cf1ebf1 # Ensure we search "our" SDK before the tool-chain's SDK (if any) TOP_DIR:=$(abspath $(dir $(lastword $(MAKEFILE_LIST)))) @@ -221,12 +219,12 @@ $(TOP_DIR)/sdk/.patched-$(SDK_VER): $(TOP_DIR)/cache/esp_iot_sdk_v$(SDK_PATCH_VE $(TOP_DIR)/cache/esp_iot_sdk_v$(SDK_FILE_VER).zip: mkdir -p "$(dir $@)" - wget --tries=10 --timeout=15 --waitretry=30 --read-timeout=20 --retry-connrefused --no-check-certificate http://bbs.espressif.com/download/file.php?id=$(SDK_FILE_ID) -O $@ || { rm -f "$@"; exit 1; } + wget --tries=10 --timeout=15 --waitretry=30 --read-timeout=20 --retry-connrefused https://github.com/nodemcu/espressif-sdk-archive/raw/master/esp_iot_sdk_v$(SDK_FILE_VER).zip -O $@ || { rm -f "$@"; exit 1; } (echo "$(SDK_FILE_SHA1) $@" | sha1sum -c -) || { rm -f "$@"; exit 1; } $(TOP_DIR)/cache/esp_iot_sdk_v$(SDK_PATCH_VER).zip: mkdir -p "$(dir $@)" - wget --tries=10 --timeout=15 --waitretry=30 --read-timeout=20 --retry-connrefused --no-check-certificate http://bbs.espressif.com/download/file.php?id=$(SDK_PATCH_ID) -O $@ || { rm -f "$@"; exit 1; } + wget --tries=10 --timeout=15 --waitretry=30 --read-timeout=20 --retry-connrefused https://github.com/nodemcu/espressif-sdk-archive/raw/master/esp_iot_sdk_v$(SDK_PATCH_VER).zip -O $@ || { rm -f "$@"; exit 1; } (echo "$(SDK_PATCH_SHA1) $@" | sha1sum -c -) || { rm -f "$@"; exit 1; } clean: