Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 27 lines (19 sloc) 402 Bytes
#!/bin/bash
#set -x
echo 'making clean'
make clean >c.out 2>&1 || {
echo "clean failed" >&2
exit 1
}
echo 'making smatch'
export SHADOW_CCS=smatch,$CODEMGR_WS/usr/src/tools/proto/root_$MACH-nd/opt/onbld/bin/$MACH/smatch,smatch
ret=0
make all install >m.out 2>&1 || ret=1
if grep smatch: m.out; then
ret=1
fi
if [[ "$ret" = 1 ]]; then
echo 'make with smatch failed'
tail m.out
fi
exit $ret
You can’t perform that action at this time.