Skip to content

Commit bc2a8c2

Browse files
author
Juan RP
committed
Ignore dependencies with errors (broken/nocross/only_for_archs).
1 parent 0086ba8 commit bc2a8c2

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

configure

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,16 @@ printf "\t@$XSC pkg \${@F}\n" >> Makefile
165165
printf "\t@touch \$@\n" >> Makefile
166166
printf "\t@rm tobuild/\${@F}\n\n" >> Makefile
167167

168+
168169
printf "INFO: Finding and adding dependencies...\n"
169170
printf "# Dependencies\n" >> Makefile
170171
for p in $TOBUILD; do
171-
sedcmd="s|[<>].*\$||g"
172-
_deps="`$XSC show-build-deps $p | sed -e \"$sedcmd\"`"
173172
deps=
173+
sedcmd="s|[<>].*\$||g"
174+
_deps="`$XSC show-build-deps $p 2>/dev/null| sed -e \"$sedcmd\"`"
175+
if [ -z "${_deps}" ]; then
176+
continue
177+
fi
174178
for d in $_deps; do
175179
found=0
176180
realdep=`getlink $d`

0 commit comments

Comments
 (0)