When using ext-local-src
for linux-xlnx and
executing petalinux-devtool finish linux-xlnx <layer
path>
after making menuconfig changes, the file bsp.cfg is deleted from the <plnx-proj-dir>/project/-spec/meta-user/recipes-kernel/linux/linux-xlnx
directory. However, the <plnx-proj-dir>/project/-spec/meta-user/recipes-kernel/linux/linux-xlnx_%.bbappend
file still references this file in the 'KERNEL_FEATURES' variable. This causes an error
when executing petalinux-build
/petalinux-build -c kernel
. To overcome this issue, create an empty
bsp.cfg file in the <plnx-proj-dir>/project/-spec/meta-user/recipes-kernel/linux/linux-xlnx
directory before building the project/kernel.