diff options
-rwxr-xr-x | util/make_all.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/util/make_all.sh b/util/make_all.sh new file mode 100755 index 0000000000..c8f7b4080d --- /dev/null +++ b/util/make_all.sh @@ -0,0 +1,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 |