Remove now unneccesary check for AFR_METADATA_MODE
@@ -459,6 +459,8 @@ else()
set(exe_target aws_demos)
endif()
+include("${CMAKE_CURRENT_LIST_DIR}/bootloader.cmake")
+
# Do not add demos or tests if they're turned off.
if(AFR_ENABLE_DEMOS OR AFR_ENABLE_TESTS)
@@ -533,12 +535,6 @@ if(AFR_ENABLE_DEMOS OR AFR_ENABLE_TESTS)
endfunction()
- if (AFR_METADATA_MODE)
- return()
- endif()
-
- include("${CMAKE_CURRENT_LIST_DIR}/bootloader.cmake")
-
nrf52840_build(
bootloader
bootloader_mkld_flags
