2 # This script will try to build all common cross packages one by one and
3 # at the end will output broken packages in Makefile format
4 # Example batch usage: nohup sh scripts/report-broken.sh &
7 if test -z "$PKGS_VAR"; then
8 PKGS_VAR
=COMMON_CROSS_PACKAGES
11 PACKAGES
=`make query-${PKGS_VAR}`
16 for package
in ${PACKAGES} ; do
17 echo "####### >>> Building ${package}"
20 if [ ${status} != 0 ]; then
21 echo "%%%%%%% ${package} Error ${status}"
22 BROKEN
="${BROKEN} ${package}"
25 BROKEN
="${BROKEN} ${NL}\t"
31 echo -e "BROKEN_PACKAGES = ${NL}\t${BROKEN}"