From fc69adf64b8c005c3203d80c1b7c6c16dbfe526e Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 6 Feb 2016 11:06:38 +0200 Subject: [PATCH] SDK 1.5.0: Add backwards compatibility library augmentation. 1.5.0 factored out some crypto functions to libcrypto.a, but software built with older SDK versions oftentimes doesn't link with that lib, so put related objects back to a lib they were in previously, specifically merge libcrypto.a content into libwpa.a. Caveat: this may lead to further issues when using new libwpa2.a, so may need tweaks in the future. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index cf7983b..96fd77a 100644 --- a/Makefile +++ b/Makefile @@ -168,6 +168,7 @@ sdk_patch: .sdk_patch_$(VENDOR_SDK) .sdk_patch_1.5.0: echo -e "#undef ESP_SDK_VERSION\n#define ESP_SDK_VERSION 010500" >>$(VENDOR_SDK_DIR)/include/esp_sdk_ver.h $(PATCH) -d $(VENDOR_SDK_DIR) -p1 < c_types-c99.patch + cd $(VENDOR_SDK_DIR_1.5.0)/lib; mkdir -p tmp; cd tmp; ar x ../libcrypto.a; cd ..; ar rs libwpa.a tmp/*.o @touch $@ .sdk_patch_1.4.0: