mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 12:14:32 +02:00
soc: remove unecessary compile line include dir orderding control
This commit is contained in:
@@ -6,16 +6,11 @@ idf_component_register(SRCS "src/cpu_util.c"
|
|||||||
"src/soc_include_legacy_warn.c"
|
"src/soc_include_legacy_warn.c"
|
||||||
"src/compare_set.c"
|
"src/compare_set.c"
|
||||||
REQUIRES hal #cpu.h directly includes HAL header
|
REQUIRES hal #cpu.h directly includes HAL header
|
||||||
|
INCLUDE_DIRS include
|
||||||
PRIV_REQUIRES ${target}
|
PRIV_REQUIRES ${target}
|
||||||
LDFRAGMENTS linker.lf)
|
LDFRAGMENTS linker.lf)
|
||||||
|
|
||||||
|
|
||||||
# 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
|
|
||||||
# include directories appear first in the compile command.
|
|
||||||
add_subdirectory(src/${target})
|
|
||||||
target_include_directories(${COMPONENT_LIB} PUBLIC include)
|
|
||||||
target_link_libraries(${COMPONENT_LIB} PRIVATE idf::hal)
|
|
||||||
|
|
||||||
add_subdirectory(soc)
|
add_subdirectory(soc)
|
||||||
|
|
||||||
|
add_subdirectory(src/${target})
|
||||||
target_link_libraries(${COMPONENT_LIB} PUBLIC "soc_${target}")
|
target_link_libraries(${COMPONENT_LIB} PUBLIC "soc_${target}")
|
||||||
|
Reference in New Issue
Block a user