summaryrefslogtreecommitdiff
path: root/util/make_all.sh
blob: 33370eb260a229a6df0205a3ae92e575fb6aecf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash -e
#
# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# Build all EC boards and run unit tests

# Build all boards except host
boards=$(ls -1 board | grep -v host)
for b in $boards; do
    echo ======== building $b
    make BOARD=$b $*
done

# Run unit tests
make BOARD=host runtests $*