aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex J Lennon <ajlennon@dynamicdevices.co.uk>2017-10-31 01:03:32 +0000
committerAlex J Lennon <ajlennon@dynamicdevices.co.uk>2017-10-31 01:03:32 +0000
commit5b7c7c2c48f6e5b1eea2ea0a4f32ac82c4f59357 (patch)
tree6c9ea8b1bf0ff0ec050c8adb899a4909427a173d
parent24adefabdb9faf043861c41dad404e244d8746dc (diff)
downloadmeta-mono-5b7c7c2c48f6e5b1eea2ea0a4f32ac82c4f59357.tar.gz
meta-mono-5b7c7c2c48f6e5b1eea2ea0a4f32ac82c4f59357.tar.bz2
meta-mono-5b7c7c2c48f6e5b1eea2ea0a4f32ac82c4f59357.zip
mono: move .pdb files into 5.xx -dbg package
"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." @see: https://www.mail-archive.com/yocto@yoctoproject.org/msg37614.html Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
-rw-r--r--recipes-mono/mono/mono-5.xx.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-mono/mono/mono-5.xx.inc b/recipes-mono/mono/mono-5.xx.inc
index 45d835a..fa95ac7 100644
--- a/recipes-mono/mono/mono-5.xx.inc
+++ b/recipes-mono/mono/mono-5.xx.inc
@@ -86,6 +86,7 @@ FILES_${PN}-libs-monodoc = "${libdir}/mono/monodoc/*"
FILES_${PN}-xbuild = "${libdir}/mono/xbuild/* ${libdir}/mono/xbuild-frameworks/* ${libdir}/mono/xbuild-frameworks/.NETFramework/*/*/* ${libdir}/mono/xbuild-frameworks/.NETPortable/*/*/* ${libdir}/mono/xbuild-frameworks/.NETPortable/*/*/.NET*"
FILES_${PN}-doc += " ${datadir}/libgc-mono/*"
FILES_${PN}-dbg += " ${datadir}/mono-2.0/mono/cil/cil-opcodes.xml ${libdir}/mono/*/*.mdb ${libdir}/mono/gac/*/*/*.mdb"
+FILES_${PN}-dbg += " ${libdir}/mono/*/*.pdb ${libdir}/mono/*/*/*.pdb ${libdir}/mono/gac/*/*/*.pdb"
FILES_${PN}-staticdev += " ${libdir}/*.a"
FILES_${PN}-api-4.5.1 += " ${libdir}/mono/4.5.1-api/*"
FILES_${PN}-api-4.5.2 += " ${libdir}/mono/4.5.2-api/*"