[Buildroot] [PATCH] libglib2: improve dev file removal

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Mar 9 16:35:30 UTC 2016


Gustavo,

On Wed,  9 Mar 2016 13:25:12 -0300, Gustavo Zacarias wrote:
> * Remove /usr/share/glib-2.0 rmdir from DEV_FILES hook, if we are not
> using gdb the GDB_FILES hook will hit and remove it anway, and if we are
> indeed using gdb we need it.

Where is this done in your patch?

> * Remove glib-compile-resources and glib-compile-schemas binaries, these
> aren't used for runtime purposes.
> 
> * Remove /usr/share/glib-2.0/codegen and /usr/share/glib-2.0/schemas, as
> with the binaries these aren't used for runtime purposes either.

Those two are OK, of course.

> Size savings delta +800 KB.

Nice savings! I would have written -800KB though :)

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list