[yocto] Debug-files in SDK

Teemu K maillinglists18 at gmail.com
Thu Sep 12 03:13:55 PDT 2019


Hi,

I'm not entirely sure if this is bug or feature.

I've created sdk to my image with populate_sdk - command. I noticed
that in the SDK the x86_64 - directory is 384MB and that contains all
the toolchains etc., but the target side
(cortexa9hf-neon-poky-linux-gnueabi) is 5.7GB. Majority of it is in
.debug - directories.

What causes the confusion here is that I haven't enabled debug-symbols
in my local.conf and I don't have any other debug stuff enabled there
either. Are those the debug-symbols that can be used to debug software
on target with GDB for example? I thought that debug symbol
information needs to be separately enabled.

If they are not, then can I get rid of them somehow?

-Teemu Keskinarkaus


More information about the yocto mailing list