cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
thenumberdevil
Explorer
Explorer
353 Views
Registered: ‎04-21-2020

Debugging cairo library in petalinux

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?.

 

0 Kudos
2 Replies
watari
Teacher
Teacher
330 Views
Registered: ‎06-16-2013

Hi @thenumberdevil 

 

>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,

0 Kudos
ibaie
Xilinx Employee
Xilinx Employee
310 Views
Registered: ‎10-06-2016

Hi @thenumberdevil 

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


Ibai
Don’t forget to reply, kudo, and accept as solution.