target-finalize: remove extra /usr/libexec/{*.a,*.la} files
authorHerve Codina <Herve.CODINA@celad.com>
Tue, 15 Sep 2015 13:27:06 +0000 (15:27 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 19 Sep 2015 12:59:46 +0000 (14:59 +0200)
commit87f3edecc65975085982515f3618c81bcfd9c023
tree1a196a3348f031087426527da81e6bee75fde3f2
parentddfd700a02ca6964fd3fddad6a69f53905e7235d
target-finalize: remove extra /usr/libexec/{*.a,*.la} files

Some packages, sudo for instance, install .a and .la files in
$(TARGET_DIR)/usr/libexec. These files are not needed on target.

This patch refactors the existing "find" invocations in
target-finalize into a single one removing all .a and .la files from
lib, usr/lib and usr/libexec.

[Thomas: rework to use a single "find" invocation, and adjusted the
commit log accordingly.]

Signed-off-by: Herve Codina <Herve.CODINA@celad.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Makefile