Skip to content
Snippets Groups Projects
Commit 1b2c5483 authored by Daniel Agar's avatar Daniel Agar
Browse files

nuttx-patches FATAL_ERROR if patch isn't included

parent 6b3a665e
No related branches found
No related tags found
No related merge requests found
......@@ -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()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment