Fix some cmake / linker depenencies for boards

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
Jukka Laitinen 2021-09-09 09:46:48 +03:00 committed by Daniel Agar
parent 91b812fc42
commit 03c0a2d56c
3 changed files with 3 additions and 2 deletions

View File

@ -46,7 +46,6 @@ px4_add_library(drivers_board
imxrt_flexspi_nor_boot.c
imxrt_flexspi_nor_flash.c
)
add_dependencies(drivers_board arch_board_hw_info)
target_link_libraries(drivers_board
PRIVATE

View File

@ -72,5 +72,6 @@ else()
nuttx_drivers # sdio
drivers__led # drv_led_start
px4_layer
px4_platform # I2CBusIterator
)
endif()

View File

@ -43,7 +43,8 @@ add_library(drivers_board
timer_config.cpp
usb.c
)
add_dependencies(drivers_board arch_board_hw_info platform_gpio_mcp23009)
add_dependencies(drivers_board platform_gpio_mcp23009)
target_link_libraries(drivers_board
PRIVATE