11-24-2020 11:00 AM - edited 11-24-2020 11:00 AM
Hi all,
I would like to debug the Cairo library in sources. So I have the following questions
1. In Petalinux build I could provide the library and I could see the library in the rootfs. I would like to see the sources? Is it possible if so how?.
11-24-2020 01:38 PM
>1. In Petalinux build I could provide the library and I could see the library in the rootfs. I would like to see the sources? Is it possible if so how?.
You can see source code, if you refer recipe file.
Would you confirm it ?
Best regards,
11-25-2020 12:50 AM
All the build artifacts are removed from temporal build directory after petalinux-build is executed for space preserving reasons. If you want to avoid build artifacts to be deleted (i.e. source code) you just need to remove rm_work from your configuration.
As per UG1144:
By default the build artifacts are removed to preserve space afterpetalinux-build. To preserve the build artifacts, you have to add the INHERIT_remove = "rm_work" in <plnx-proj-dor>/project-spec/meta-user/conf/petalinuxbsp.conf, but it increases theproject space
You can also make bit more specific to a single component using:
RM_WORK_EXCLUDE += "<component-name>"
Regards