mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
nuttx-patches FATAL_ERROR if patch isn't included
This commit is contained in:
parent
6b3a665e33
commit
1b2c54836f
@ -58,7 +58,7 @@ set(nuttx_patches
|
||||
00024-BACKPORT-stm32f7-serial-dma-hotfix.patch
|
||||
00025-BACKPORT-add-set-ex-to-nsh.patch
|
||||
00026-BACKPORT-stm32fX-serial-fix-freezing.patch
|
||||
00027-BACKPORT-stm32-sdio-1-bit-and-16G-fix.patch
|
||||
00027-BACKPORT-stm32-sdio-1-bit-and-16G-fix.patch
|
||||
90000-PENDING-wip-inflight-to-upstream.patch
|
||||
)
|
||||
|
||||
@ -74,6 +74,6 @@ file(GLOB patches_found *.patch)
|
||||
foreach(patch_file ${patches_found})
|
||||
list (FIND px4_nuttx_patches ${patch_file} _index)
|
||||
if (${_index} EQUAL -1)
|
||||
message(WARNING "${patch_file} missing from nuttx-patches/CMakeLists.txt")
|
||||
message(FATAL_ERROR "${patch_file} missing from nuttx-patches/CMakeLists.txt")
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user