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:
parent
234dd95e0b
commit
fbd0b3d1d7
@ -18,9 +18,9 @@
|
||||
#
|
||||
# ##############################################################################
|
||||
|
||||
add_subdirectory(common)
|
||||
add_subdirectory(${ARCH_SUBDIR})
|
||||
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
|
||||
# to libboard
|
||||
|
@ -18,8 +18,8 @@
|
||||
#
|
||||
# ##############################################################################
|
||||
|
||||
add_subdirectory(common)
|
||||
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
|
||||
# to libboard
|
||||
|
Loading…
Reference in New Issue
Block a user