mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 04:19:37 +08:00
cmake: move NUTTX_CHIP_ABS_DIR before common src
Some APIs are implemented both in common code and CHIP-specific code, and the link needs to be based on the implementation in CHIP, so move NUTTX_CHIP_ABS_DIR before common src. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
committed by
Mateusz Szafoni
parent
234dd95e0b
commit
fbd0b3d1d7
@@ -18,9 +18,9 @@
|
|||||||
#
|
#
|
||||||
# ##############################################################################
|
# ##############################################################################
|
||||||
|
|
||||||
add_subdirectory(common)
|
|
||||||
add_subdirectory(${ARCH_SUBDIR})
|
add_subdirectory(${ARCH_SUBDIR})
|
||||||
add_subdirectory(${NUTTX_CHIP_ABS_DIR} EXCLUDE_FROM_ALL exclude_chip)
|
add_subdirectory(${NUTTX_CHIP_ABS_DIR} EXCLUDE_FROM_ALL exclude_chip)
|
||||||
|
add_subdirectory(common)
|
||||||
|
|
||||||
# Include directories (before system ones) as PUBLIC so that it can be exposed
|
# Include directories (before system ones) as PUBLIC so that it can be exposed
|
||||||
# to libboard
|
# to libboard
|
||||||
|
|||||||
@@ -18,8 +18,8 @@
|
|||||||
#
|
#
|
||||||
# ##############################################################################
|
# ##############################################################################
|
||||||
|
|
||||||
add_subdirectory(common)
|
|
||||||
add_subdirectory(${NUTTX_CHIP_ABS_DIR} EXCLUDE_FROM_ALL exclude_chip)
|
add_subdirectory(${NUTTX_CHIP_ABS_DIR} EXCLUDE_FROM_ALL exclude_chip)
|
||||||
|
add_subdirectory(common)
|
||||||
|
|
||||||
# Include directories (before system ones) as PUBLIC so that it can be exposed
|
# Include directories (before system ones) as PUBLIC so that it can be exposed
|
||||||
# to libboard
|
# to libboard
|
||||||
|
|||||||
Reference in New Issue
Block a user