mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-22 17:47:04 +08:00

1. add "-MP" prevents make-level errors when switching IDF versions, as headers may be removed 2. add macro "IS_BOOTLOADER_BUILD" to disable link file generation when compiling bootloader 3. add "<:" to avoid makefile to search it undefined variable
README esp-idf compile and 'AR' user program as target library 'libmain.a', so we should not use library which is named 'libmain.a'. We use 'libcore.a' instead of it. As I konwn, you can do following: 1. rename libmain.a to libcore.a 2. change text "*libmain.a:spi_flash.o(.literal .text .literal.* .text.*)" to "*libcore.a:spi_flash.o(.literal .text .literal.* .text.*)" in file 'eagle.app.v6.common.ld'