Solved
I was following this how to create your own machine tutorial and got this warning and my flash_layout directory is empty.
Link to the tutorial and warning:
WARNING: st-image-weston-1.0-r0 do_st_write_license_create_summary: IMG LIC SUM: File does not exist with open file /home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp1-test/tmp-glibc/deploy/licenses/st-image-resize-initrd-openstlinux-weston-stm32mp1-test-20220815132043/package.manifest
