|
@@ -29,6 +29,13 @@ while read f; do
|
|
continue
|
|
continue
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+ # Skip files in /usr/share, several packages (qemu,
|
|
|
|
+ # pru-software-support) legitimately install ELF binaries that
|
|
|
|
+ # are not for the target architecture
|
|
|
|
+ if [[ "${f}" =~ ^\./usr/share/.* ]]; then
|
|
|
|
+ continue
|
|
|
|
+ fi
|
|
|
|
+
|
|
# Get architecture using readelf. We pipe through 'head -1' so
|
|
# Get architecture using readelf. We pipe through 'head -1' so
|
|
# that when the file is a static library (.a), we only take
|
|
# that when the file is a static library (.a), we only take
|
|
# into account the architecture of the first object file.
|
|
# into account the architecture of the first object file.
|