component.mk 555 B

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