On 28 June 2016 at 16:38, Austin Kim <augie...@gmail.com> wrote:

> I'm wondering how to copy only stripped binary and leave debug symbols on
> the host build machine. I'm running on the OS on a very tight HDD space so
> I cannot put debug symbols into the image. So I tried
>
>
> PACKAGE_DEBUG_SPLIT_STYLE = 'debug-without-src'
>
> EXTRA_IMAGE_FEATURES = "dbg-pkgs"
>
> But the output image is still bigger than the original image. Is there
> anyway to keep the original size and keep debug symbols and source code in
> the host so DBG may reference them during debugging?
>

Adding dbg-pkgs to IMAGE_FEATURES says that you want full debugging on the
target.  Simply don't set that and you'll get stripped binaries on the
target but full debugging is available on the host for remote gdb (see
IMAGE_GEN_DEBUGFS).

Ross
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to