11-15-2020 07:27 PM
I am use Petalinux2019.2 to develop on zcu102 board.
And I follow UG1144 setting external local sources, include linux-xlnx, u-boot-xlnx. My external local sources's location is <project root dir>/components/ext_sources. And I run "petalinux-config" to configure their path likes "${TOPDIR}/../components/ext_sources/*.
It works well when i build the project. However, when i run "petalinux-config -c <component>", it occurs a error "--no-extract is specified and source path ..../build/components/ext_sources/linux-xlnx does not exist or is not directory". From the error message, i can see the ".." in the path is ignored by the tool. It should be "build/../components/ext_sources/*", but is shown as "build/components/ext_sources/*" in the error message.
Thanks for any sugesstion.
11-18-2020 06:15 AM
Just move meta packages in project-spec/ folder. Then add in config step ${proot}/project-spec/<meta-pkg>. Once it is successful then go to project-spec/meta-user/conf/user-rootfsconfig and add
CONFIG_<meta-pkg>
Now build using "petalinux-build"