I need to fix a problem with the esp32 bootloader.
I copied the bootloader folder from the framework-espidf to the project components folder and made the changes on the bootloader code.
But after a clean build I saw that my changes were ignored.
Then I made the same changes directly on the framework-espidf bootloader folder and after a clean build my changes were used.
I seems that the project components folder is ignored in the bootloader compilation phase.
Is there any way, with some custom build flags, or changing some configuration on the pre extra_scripts stage, to force the inclusion of the project components folder on the bootloader compilation binary.