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.Note: Petalinux-devtool command does not work for system device tree based build flows.
As for system device tree based builds we have multi targets build support and Yocto
devtool is not working for multi targets and yocto upstream. The issue has not been
fixed yet.