mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-05 17:08:52 +08:00
TAP:Fix build to use correct ROMFS
This commit is contained in:
committed by
Julian Oes
parent
78bc7d850b
commit
39ce201efe
@@ -47,10 +47,14 @@ if(NOT ${BOARD} STREQUAL "sim")
|
||||
endif()
|
||||
|
||||
set(romfs_dir "ROMFS/px4fmu_common")
|
||||
if (${BOARD} STREQUAL "tap-v1")
|
||||
set(romfs_dir "ROMFS/tap_common")
|
||||
endif()
|
||||
if (${BOARD} STREQUAL "px4fmu-v2" AND ${LABEL} STREQUAL "test")
|
||||
set(romfs_dir "ROMFS/px4fmu_test")
|
||||
endif()
|
||||
|
||||
|
||||
px4_nuttx_add_romfs(OUT romfs
|
||||
ROOT ${romfs_dir}
|
||||
EXTRAS ${extras}
|
||||
|
||||
Reference in New Issue
Block a user