mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00

As stated in our top level license files, the license is MIT unless otherwise stated. Add SPDX identifers accordingly. Replace older license statementa with the standardised syntax. Also drop "All Rights Reserved" expression as it isn't used now, doesn't mean anything and is confusing. (From OE-Core rev: 081a391fe09a21265881e39a2a496e4e10b4f80b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 lines
333 B
Plaintext
18 lines
333 B
Plaintext
#
|
|
# Copyright OpenEmbedded Contributors
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
# This class removes libtool .la files after do_install
|
|
|
|
REMOVE_LIBTOOL_LA ?= "1"
|
|
|
|
remove_libtool_la() {
|
|
if [ "${REMOVE_LIBTOOL_LA}" != "0" ]; then
|
|
find "${D}" -ignore_readdir_race -name "*.la" -delete
|
|
fi
|
|
}
|
|
|
|
do_install[postfuncs] += "remove_libtool_la"
|