summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xTools/scripts/explicit_lib_depends.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/Tools/scripts/explicit_lib_depends.sh b/Tools/scripts/explicit_lib_depends.sh
index bad5152..f281b45 100755
--- a/Tools/scripts/explicit_lib_depends.sh
+++ b/Tools/scripts/explicit_lib_depends.sh
@@ -92,6 +92,9 @@ for i in $@; do
fi
fi
+ myorigin=$(awk -F : '/@comment ORIGIN:/ {print $2}' \
+ ${current_port}/+CONTENTS)
+
awk '
/^@cwd / {
CWD=$2;
@@ -109,7 +112,7 @@ for i in $@; do
}
' < ${current_port}/+CONTENTS | \
xargs ${PORTSDIR}/Tools/scripts/neededlibs.sh | \
- xargs ${PORTSDIR}/Tools/scripts/resolveportsfromlibs.sh ${bases}
-
+ xargs ${PORTSDIR}/Tools/scripts/resolveportsfromlibs.sh ${bases} | \
+ egrep -v "${myorigin}\$"
done | sort -u
OpenPOWER on IntegriCloud