Tribulations with an external Makefile driven library in ESP-IDF

Linking a hand-maintained Makefile library into ESP-IDF exposes brittle CMake ordering and cross-compilation traps. This hard-won configuration shows how `ExternalProject_Add`, `BUILD_BYPRODUCTS`, and toolchain variables can produce a reliable static archive without letting CMake overwrite local work.