TAP:Fix build to use correct ROMFS

This commit is contained in:
David Sidrane
2016-07-13 20:19:05 +02:00
committed by Julian Oes
parent 78bc7d850b
commit 39ce201efe
+4
View File
@@ -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}