Quellcode durchsuchen

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.
Paul Sokolovsky vor 9 Jahren
Ursprung
Commit
fc69adf64b
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      Makefile

+ 1 - 0
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: