Commit 94ab8f411cdc124c2bfd4ce5702c3802428fa534
Committed by
Tom Rini
1 parent
9c2d60c378
Exists in
v2017.01-smarct4x
and in
40 other branches
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 <yamada.m@jp.panasonic.com>
Showing 1 changed file with 4 additions and 7 deletions Side-by-side Diff
MAKEALL
| ... | ... | @@ -171,13 +171,10 @@ |
| 171 | 171 | # echo "Remaining arguments:" |
| 172 | 172 | # for arg do echo '--> '"\`$arg'" ; done |
| 173 | 173 | |
| 174 | -if [ ! -r boards.cfg ]; then | |
| 175 | - echo "Could not find boards.cfg" | |
| 176 | - tools/genboardscfg.py || { | |
| 177 | - echo "Failed to generate boards.cfg" >&2 | |
| 178 | - exit 1 | |
| 179 | - } | |
| 180 | -fi | |
| 174 | +tools/genboardscfg.py || { | |
| 175 | + echo "Failed to generate boards.cfg" >&2 | |
| 176 | + exit 1 | |
| 177 | +} | |
| 181 | 178 | |
| 182 | 179 | FILTER="\$1 !~ /^#/" |
| 183 | 180 | [ "$opt_a" ] && FILTER="${FILTER} && $opt_a" |