summaryrefslogtreecommitdiffstats
path: root/remote/setup_tools
diff options
context:
space:
mode:
Diffstat (limited to 'remote/setup_tools')
-rwxr-xr-xremote/setup_tools8
1 files changed, 6 insertions, 2 deletions
diff --git a/remote/setup_tools b/remote/setup_tools
index bf1ac93e..ed6f58e9 100755
--- a/remote/setup_tools
+++ b/remote/setup_tools
@@ -59,7 +59,7 @@ copyfileswithdependencies ()
echo ${FILE} >> ${COPYFILES_LIST}
# fetch dependencies
# quick fix to exclude libc*, else it copies unneeded libs...
- for i in $(ldd ${FILE} |awk '{print $1 $2 $3}'|grep -v ld-linux|grep -v libc.so*|grep -v linux-gate)
+ for i in $(ldd ${FILE} |awk '{print $1 $2 $3}'|grep -v ld-linux|grep -v libc.so*|grep -v linux-gate|grep -v linux-vdso)
do
arrIN=(${i//=>/ })
echo "--------------------------------------------------------"
@@ -101,7 +101,7 @@ copyfileswithdependencies ()
echo ".${ENTRY}" >> ${COPYFILES_LIST}
for LIB in $(find .${ENTRY} -type f -not -name "*.a" | xargs grep -l ELF)
do
- for i in $(ldd ${LIB} |awk '{print $1 $2 $3}'|grep -v ld-linux|grep -v libc.so*|grep -v linux-gate)
+ for i in $(ldd ${LIB} |awk '{print $1 $2 $3}'|grep -v ld-linux|grep -v libc.so*|grep -v linux-gate|grep -v linux-vdso)
do
arrIN=(${i//=>/ })
echo "--------------------------------------------------------"
@@ -217,6 +217,10 @@ clean_tools() {
clean_tool() {
TOOLDIR=${TOOL_DIR}/$1
echo -n "Cleaning ${TOOLDIR}..."
+ #[ -e ${TOOLDIR}/build/list_wanted_stage3.2 ] && cd ${INIT_DIR} \
+ # && xargs rm < ${TOOLDIR}/build/list_wanted_stage3.2
+ #[ -d ${TOOLDIR}/data ] && cd ${INIT_DIR} \
+# && xargs rm < $(find ${TOOLDIR}/data -type f)
[ -e ${TOOLDIR}/.built ] && rm ${TOOLDIR}/.built
[ -e ${TOOLDIR}/.fetched_source ] && rm ${TOOLDIR}/.fetched_source
[ -d ${TOOLDIR}/build ] && rm -rf ${TOOLDIR}/build