Files
OpenCellular/util/make_all.sh
Vic Yang 150f175609 Pass command line arguments to make from make_all.sh
This would allow us to do something like:
  util/make_all.sh -j32
  util/make_all.sh V=1

BUG=None
TEST=util/make_all.sh -j
TEST=util/make_all.sh V=1
BRANCH=None

Change-Id: Ifed0baf6c94fbe8b0296cbdc70ba84f92f04b75b
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/64268
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
2013-08-01 19:50:24 -07:00

18 lines
418 B
Bash
Executable File

#!/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