Add patch for sdk 1.5.2, from http://bbs.espressif.com/viewtopic.php?f=46&t=1856
This commit is contained in:
parent
0cf36c05b2
commit
a48b12fd71
6
Makefile
6
Makefile
@ -174,8 +174,10 @@ sdk_patch: $(VENDOR_SDK_DIR)/.dir .sdk_patch_$(VENDOR_SDK)
|
||||
cd $(VENDOR_SDK_DIR)/lib; mkdir -p tmp; cd tmp; $(TOOLCHAIN)/bin/xtensa-lx106-elf-ar x ../libcrypto.a; cd ..; $(TOOLCHAIN)/bin/xtensa-lx106-elf-ar rs libwpa.a tmp/*.o
|
||||
@touch $@
|
||||
|
||||
.sdk_patch_1.5.2:
|
||||
.sdk_patch_1.5.2: Patch01_for_ESP8266_NONOS_SDK_V1.zip
|
||||
echo -e "#undef ESP_SDK_VERSION\n#define ESP_SDK_VERSION 010502" >>$(VENDOR_SDK_DIR)/include/esp_sdk_ver.h
|
||||
$(UNZIP) Patch01_for_ESP8266_NONOS_SDK_V1.5.2.zip
|
||||
mv libssl.a libnet80211.a libmain.a $(VENDOR_SDK_DIR_1.5.2)/lib/
|
||||
$(PATCH) -d $(VENDOR_SDK_DIR) -p1 < c_types-c99.patch
|
||||
cd $(VENDOR_SDK_DIR)/lib; mkdir -p tmp; cd tmp; $(TOOLCHAIN)/bin/xtensa-lx106-elf-ar x ../libcrypto.a; cd ..; $(TOOLCHAIN)/bin/xtensa-lx106-elf-ar rs libwpa.a tmp/*.o
|
||||
@touch $@
|
||||
@ -366,6 +368,8 @@ libsmartconfig_2.4.2.zip:
|
||||
wget --content-disposition "http://bbs.espressif.com/download/file.php?id=585"
|
||||
lib_mem_optimize_150714.zip:
|
||||
wget --content-disposition "http://bbs.espressif.com/download/file.php?id=594"
|
||||
Patch01_for_ESP8266_NONOS_SDK_V1.zip:
|
||||
wget --content-disposition "http://bbs.espressif.com/download/file.php?id=1168"
|
||||
|
||||
clean-sdk:
|
||||
rm -rf $(VENDOR_SDK_DIR)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user