1if(CONFIG_MCUBOOT)
2  # Append source file which outputs the current mode of mcuboot
3  target_sources(app PRIVATE src/hook.c)
4endif()
5