summaryrefslogtreecommitdiff
path: root/util/make_all.sh
blob: c8f7b4080d54a4a4c6d671a1025361062a1e791c (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