mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-23 01:58:24 +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
13 lines
315 B
Makefile
13 lines
315 B
Makefile
#
|
|
# Component Makefile
|
|
#
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS := include
|
|
COMPONENT_SRCDIRS := src
|
|
|
|
# just to remove make compiling warning
|
|
src/stack_check.o: <:=
|
|
|
|
# disable stack protection in files which are involved in initialization of that feature
|
|
src/stack_check.o: CFLAGS := $(filter-out -fstack-protector%, $(CFLAGS))
|