summaryrefslogtreecommitdiff
path: root/MAKEALL
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-08-22 14:33:40 +0900
committerTom Rini <trini@ti.com>2014-08-28 17:18:48 -0400
commit94ab8f411cdc124c2bfd4ce5702c3802428fa534 (patch)
treee195a222d213be7246591fce1dcfb972853b4638 /MAKEALL
parent9c2d60c37866e302600ff8aa479b834712478403 (diff)
downloadu-boot-imx-94ab8f411cdc124c2bfd4ce5702c3802428fa534.zip
u-boot-imx-94ab8f411cdc124c2bfd4ce5702c3802428fa534.tar.gz
u-boot-imx-94ab8f411cdc124c2bfd4ce5702c3802428fa534.tar.bz2
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>
Diffstat (limited to 'MAKEALL')
-rwxr-xr-xMAKEALL11
1 files changed, 4 insertions, 7 deletions
diff --git a/MAKEALL b/MAKEALL
index 392ea8d..7c16319 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"