1COMPONENT_ADD_INCLUDEDIRS := include 2COMPONENT_SRCDIRS := src 3COMPONENT_PRIV_INCLUDEDIRS := include_core_dump 4COMPONENT_ADD_LDFRAGMENTS += linker.lf 5 6ifdef CONFIG_IDF_TARGET_ARCH_XTENSA 7 COMPONENT_SRCDIRS += src/port/xtensa 8 COMPONENT_ADD_INCLUDEDIRS += include/port/xtensa 9 COMPONENT_PRIV_INCLUDEDIRS += include_core_dump/port/xtensa 10endif 11 12ifdef CONFIG_IDF_TARGET_ARCH_RISCV 13 COMPONENT_SRCDIRS += src/port/riscv 14 COMPONENT_ADD_INCLUDEDIRS += include/port/riscv 15 COMPONENT_PRIV_INCLUDEDIRS += include_core_dump/port/riscv 16endif 17