repo.or.cz
/
buildroot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
improve GJC support, honour GCJ_FOR_ECJX from env
[buildroot.git]
/
toolchain
/
dependencies
/
check-host-nasm.sh
blob
8318a152e1efeaff09e10b512e8c435bbad69a0d
1
#!/bin/sh
2
3
ok
=
""
4
5
for
bin
in
/
usr
/
bin
/
nasm
$NASM
6
do
7
# TODO: add check for proper functionality here..
8
$bin
-v
> /
dev
/
null
2
>&
1
&&
ok
=
"
$bin
"
9
if
test
"x
$ok
"
!=
"x"
;
then
10
break
11
fi
12
done
13
echo
"
$ok
"