[yocto] meta-mono 5.2.x recipe and pdb files

Craig McQueen craig.mcqueen at innerrange.com
Tue Oct 17 23:22:23 PDT 2017


I wrote:
> 
> I'm trying to upgrade from mono 4.6.x to 5.2.x. I see resulting image size
> increases by about 10 MB in my usage. It appears that a significant
> contributing factor is the presence of *.pdb files in 5.2.x which weren't in
> 4.6.x.
> 
> * Are the *.pdb files necessary?
> * What can  be done to exclude them?

Seeing how the recipe handles *.mdb files, I made a bbappend file containing:

FILES_${PN}-dbg	+= "${libdir}/mono/*/*.pdb ${libdir}/mono/*/*/*.pdb ${libdir}/mono/gac/*/*/*.pdb"

That seems to do it. This should probably be added to the mono recipe files for mono >= 5.0.x.

-- 
Craig McQueen




More information about the yocto mailing list