2018-10-19 11:51:51 +08:00
|
|
|
SOC_NAME := $(IDF_TARGET)
|
2017-04-11 15:44:43 +08:00
|
|
|
|
2020-01-08 12:50:03 +08:00
|
|
|
COMPONENT_SRCDIRS := src src/hal
|
2020-04-29 16:20:40 +08:00
|
|
|
COMPONENT_ADD_INCLUDEDIRS :=
|
|
|
|
COMPONENT_OBJEXCLUDE += src/hal/spi_slave_hd_hal.o
|
2018-06-22 17:32:58 +10:00
|
|
|
|
2020-04-29 16:20:40 +08: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 14:43:41 +08:00
|
|
|
# include directories appear first in the compile command.
|
|
|
|
-include $(COMPONENT_PATH)/src/$(SOC_NAME)/component.mk
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS += include
|
2018-07-29 08:27:06 +03:00
|
|
|
|
2020-01-08 12:50:03 +08:00
|
|
|
-include $(COMPONENT_PATH)/soc/component.mk
|
2019-04-03 17:08:02 +08:00
|
|
|
|
2018-04-18 10:57:45 +08:00
|
|
|
COMPONENT_ADD_LDFRAGMENTS += linker.lf
|