2018-10-18 23:51:51 -04:00
|
|
|
SOC_NAME := $(IDF_TARGET)
|
2017-04-11 03:44:43 -04:00
|
|
|
|
2020-01-07 23:50:03 -05:00
|
|
|
COMPONENT_SRCDIRS := src src/hal
|
2021-05-25 05:16:43 -04:00
|
|
|
COMPONENT_ADD_INCLUDEDIRS :=
|
2018-06-22 03:32:58 -04:00
|
|
|
|
2021-05-25 05:16:43 -04:00
|
|
|
# Since there can be chip-specific HAL headers which can include the common
|
|
|
|
# HAL header via include_next, process the build scripts here first so that
|
2020-01-09 01:43:41 -05:00
|
|
|
# include directories appear first in the compile command.
|
|
|
|
-include $(COMPONENT_PATH)/src/$(SOC_NAME)/component.mk
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS += include
|
2018-07-29 01:27:06 -04:00
|
|
|
|
2020-01-07 23:50:03 -05:00
|
|
|
-include $(COMPONENT_PATH)/soc/component.mk
|
2019-04-03 05:08:02 -04:00
|
|
|
|
2018-04-17 22:57:45 -04:00
|
|
|
COMPONENT_ADD_LDFRAGMENTS += linker.lf
|
2021-05-25 05:16:43 -04:00
|
|
|
|
|
|
|
ifdef IS_BOOTLOADER_BUILD
|
|
|
|
COMPONENT_OBJEXCLUDE += src/regi2c_ctrl.o
|
|
|
|
endif
|