component.mk 530 B

123456789101112131415
  1. SOC_NAME := $(IDF_TARGET)
  2. COMPONENT_SRCDIRS := src src/hal
  3. COMPONENT_ADD_INCLUDEDIRS :=
  4. COMPONENT_OBJEXCLUDE += src/hal/spi_slave_hd_hal.o
  5. # Since there can be chip-specific HAL headers which can include the common
  6. # HAL header via include_next, process the build scripts here first so that
  7. # include directories appear first in the compile command.
  8. -include $(COMPONENT_PATH)/src/$(SOC_NAME)/component.mk
  9. COMPONENT_ADD_INCLUDEDIRS += include
  10. -include $(COMPONENT_PATH)/soc/component.mk
  11. COMPONENT_ADD_LDFRAGMENTS += linker.lf