Hello David Vescovi,
The code that installs the binaries is located at:
<BSP_DIR>/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/m4-demos/imx-m4-demos-2.inc
You may append the recipe that inherits this file, which is the following, as to make it include the changed files.
<BSP_DIR>/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/m4-demos/imx-m4-demos_2.5.0.bb
The BSP porting guide available as part of the BSP Release documentation and the Yocto Reference Manual are good sources for more details on customizing your BSP.
https://www.yoctoproject.org/docs/2.5/ref-manual/ref-manual.html
I hope this helps!
Regards,