From: Masahiro Yamada Date: Fri, 22 Aug 2014 05:33:40 +0000 (+0900) Subject: MAKEALL: run genboardscfg.py all the time X-Git-Tag: KARO-TXA5-2015-06-26~778 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;ds=sidebyside;h=94ab8f411cdc124c2bfd4ce5702c3802428fa534;p=karo-tx-uboot.git MAKEALL: run genboardscfg.py all the time This commit makes sure boards.cfg is up to date before starting the build tests. tools/genboardscfg.py exits immediately printing "boards.cfg is up to date. Nothing to do." when boards.cfg is already new. Signed-off-by: Masahiro Yamada --- diff --git a/MAKEALL b/MAKEALL index 392ea8d2ae..7c16319b80 100755 --- a/MAKEALL +++ b/MAKEALL @@ -171,13 +171,10 @@ GNU_MAKE=$(scripts/show-gnu-make) || { # echo "Remaining arguments:" # for arg do echo '--> '"\`$arg'" ; done -if [ ! -r boards.cfg ]; then - echo "Could not find boards.cfg" - tools/genboardscfg.py || { - echo "Failed to generate boards.cfg" >&2 - exit 1 - } -fi +tools/genboardscfg.py || { + echo "Failed to generate boards.cfg" >&2 + exit 1 +} FILTER="\$1 !~ /^#/" [ "$opt_a" ] && FILTER="${FILTER} && $opt_a"