package/pkg-meson: force-disable binary stripping
authorGleb Mazovetskiy <glex.spb@gmail.com>
Fri, 25 Dec 2020 12:15:59 +0000 (12:15 +0000)
committerYann E. MORIN <yann.morin.1998@free.fr>
Fri, 25 Dec 2020 15:57:12 +0000 (16:57 +0100)
commit3f39f902b3cd685c3c971941138e0df50947737c
tree89349daa5f1033f307d18c86308e02a65077beb5
parent37f197f8634352750f169b6a287588a09b82e00e
package/pkg-meson: force-disable binary stripping

In buildroot, stripping for the target is configured and implemented
with the global `BR2_STRIP_strip` option that drive the stripping in
the target-finalize step.

So, we explicitly disable stripping at build time for the target
variants.

For the host variants, however, we don't much care about symbols and
stuff, but smaller executables will hopefully load faster than bigger
ones (disputable, given that sections in ELF files are paged-in
on-demand), so we explictly enable stripping.

Signed-off-by: Gleb Mazovetskiy <glex.spb@gmail.com>
[yann.morin.1998@free.fr:
  - add burb about the target-finalize step
  - enable stripping for host variants
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/pkg-meson.mk