mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-03 16:37:43 +00:00
external toolchain: do not copy useless symbolic links
Do not copy .so symbolic links to target when not needed. Only copy .so.X symbolic links and the library itself. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
0afd2103f0
commit
3026e9930e
@ -46,7 +46,7 @@ copy_toolchain_lib_root = \
|
|||||||
STRIP="$(strip $4)"; \
|
STRIP="$(strip $4)"; \
|
||||||
\
|
\
|
||||||
LIB_DIR="$${SYSROOT_DIR}/lib" ; \
|
LIB_DIR="$${SYSROOT_DIR}/lib" ; \
|
||||||
for FILE in `find $${LIB_DIR} -maxdepth 1 -type l -name "$${LIB}*"`; do \
|
for FILE in `find $${LIB_DIR} -maxdepth 1 -name "$${LIB}.*"`; do \
|
||||||
LIB=`basename $${FILE}`; \
|
LIB=`basename $${FILE}`; \
|
||||||
while test \! -z "$${LIB}"; do \
|
while test \! -z "$${LIB}"; do \
|
||||||
rm -fr $(TARGET_DIR)$${DST}/$${LIB}; \
|
rm -fr $(TARGET_DIR)$${DST}/$${LIB}; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user