build: add CONFIG_APP_REPRODUCIBLE_BUILD menuconfig option to produce reproducible binaries

This commit is contained in:
Fu Hanxi
2021-10-09 15:42:14 +08:00
parent a65de0ab1f
commit 9919b75ec1
8 changed files with 63 additions and 2 deletions

View File

@@ -91,5 +91,7 @@ void bootloader_enable_random(void)
void bootloader_print_banner(void)
{
ESP_LOGI(TAG, "ESP-IDF %s 2nd stage bootloader", IDF_VER);
#ifndef CONFIG_APP_REPRODUCIBLE_BUILD
ESP_LOGI(TAG, "compile time " __TIME__);
#endif
}