diff options
author | Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> | 2017-02-07 22:56:48 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-04-05 21:33:29 +0200 |
commit | 9e4fb2019b116da3f606eeae976752d1a64d5fc5 (patch) | |
tree | 1ab266aa0f7fe045929249cb61e72cd70f5d830f /package/glibc | |
parent | d34e02a6578baa5c5ebe1a9f08654bdf3d079fdd (diff) | |
download | buildroot-9e4fb2019b116da3f606eeae976752d1a64d5fc5.tar.gz buildroot-9e4fb2019b116da3f606eeae976752d1a64d5fc5.zip |
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>
Diffstat (limited to 'package/glibc')
-rw-r--r-- | package/glibc/glibc.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk index 58cb3d46c5..ccaa4c2a98 100644 --- a/package/glibc/glibc.mk +++ b/package/glibc/glibc.mk @@ -110,8 +110,8 @@ GLIBC_LIBS_LIB += libthread_db.so.* endif define GLIBC_INSTALL_TARGET_CMDS - for libs in $(GLIBC_LIBS_LIB); do \ - $(call copy_toolchain_lib_root,$$libs) ; \ + for libpattern in $(GLIBC_LIBS_LIB); do \ + $(call copy_toolchain_lib_root,$$libpattern) ; \ done endef |