1. add Kconfig file and rename old global macro 2. move some independent files to esp_common
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
Enable this function by "COMPILER_STACK_CHECK_MODE" of "Kconfig".