Problem description
As part of the Petalinux-config menu, you can now designate the Linux kernel as an external source.
If you select this option, you can add two symbolic links to the kernel source tree.
This will bring two questions:
1. Symbolic links oe-log and Oe-workdir point to the project Petalinux the work area in the build directory, which means that only one project can use the same external source.
If a level two project uses the same external source, these symbolic links will be changed to point to different items
2. These symbolic links are displayed as a path-free file as part of the git status command.
Solution Solutions
The workaround for this problem is to add the following variables in the <plnx-proj-root>/project-spec/meta-user/conf/petalinuxbsp.conf
Externalsrc_symlinks = ""
"Expert Zuotang Q&a" When selecting an external source in Petalinux-config, the symbolic link can be added to the kernel source directory tree