nRF52840 - Zephyr - Making MCUboot prj.conf file local

For the nRF52840, SDK 2.4.4, I'm looking to make the prj.conf file associated with MCUboot a local file in my project workspace directory. How do I do this without creating errors? 

Modifications to CMakeLists.txt

"

set(mcuboot_CONF_FILE
${CMAKE_CURRENT_SOURCE_DIR}/boot/zephyr/prj.conf
${CMAKE_CURRENT_SOURCE_DIR}/child_image/mcuboot.conf
)
set(mcuboot_DTC_OVERLAY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/child_image/mcuboot.overlay)

"

but then I end up a with a whole bunch of errors that I wouldn't otherwise get if the mcuboot prj.conf file wasn't local. 

What am I doing wrong? 

Related