toolchain: copy_toolchain_lib_root: clarify input parameter
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Tue, 7 Feb 2017 21:56:48 +0000 (22:56 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 5 Apr 2017 19:33:29 +0000 (21:33 +0200)
commit9e4fb2019b116da3f606eeae976752d1a64d5fc5
tree1ab266aa0f7fe045929249cb61e72cd70f5d830f
parentd34e02a6578baa5c5ebe1a9f08654bdf3d079fdd
toolchain: copy_toolchain_lib_root: clarify input parameter

The input to copy_toolchain_lib_root is not one library, not a list of
libraries, but a library name pattern with glob wildcards.
This pattern is then passed to 'find' to get the actual list of libraries
matching the pattern. Reflect this using an appropriate variable name.

Note: if the root of the buildroot tree contains a file matching one of
these library patterns, the copying of libraries from staging to target will
not be correct. It is not impossible to fix that, e.g. using 'set -f', but
maybe it's not worth it.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/glibc/glibc.mk
toolchain/helpers.mk
toolchain/toolchain-external/pkg-toolchain-external.mk