DFU integration error when using sysbuild config

Hi,

We recently updated our NRF Connect SDK from v2.2.0 to v2.7.0.

After porting to the SDK v2.7.0 we are not able to build the project with DFU enabled. We get below warning and error

warning: DFU_TARGET_MCUBOOT was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: BOOTLOADER_MCUBOOT (=n).

Whereas we have set the BOOTLOADER_MCUBOOT and below are the param we have enabled for DFU

CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_SECURE_BOOT=y
CONFIG_MCUBOOT_IMG_MANAGER=y
CONFIG_SIGN_IMAGES=y
CONFIG_DFU_TARGET=y
CONFIG_IMG_MANAGER=y
CONFIG_IMG_ERASE_PROGRESSIVELY=y
CONFIG_DFU_TARGET_MCUBOOT=y
CONFIG_DFU_TARGET_STREAM=y
CONFIG_STREAM_FLASH_ERASE=y
CONFIG_STREAM_FLASH=y
CONFIG_NRF53_UPGRADE_NETWORK_CORE=n

And because of this we get an undefined error for dfu_target APIs as below

undefined reference to `dfu_target_mcuboot_set_buf'

We do not see this error if we build with Build system default option.

If not, we keep on seeing the warning child-parent build is deprecated use sysbuild.

Related