From 58c0727901aae21c496056a5eccaa27c693510ef Mon Sep 17 00:00:00 2001 From: Shawn Nematbakhsh Date: Tue, 21 Jun 2016 12:37:01 -0700 Subject: build: Skip cr50 board in `make buildall` if private folder not present BUG=chromium:621993 BRANCH=None TEST=`make buildall -j` from public checkout succeeds. Also verify cr50 still built from private checkout. Change-Id: I982806e282146aab76154b51c366226d3d1aed14 Signed-off-by: Shawn Nematbakhsh Reviewed-on: https://chromium-review.googlesource.com/354540 Commit-Ready: Shawn N Tested-by: Shawn N Reviewed-by: Vadim Bendebury --- Makefile.rules | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile.rules') diff --git a/Makefile.rules b/Makefile.rules index 9a10f23118..52b215f337 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -14,6 +14,10 @@ host-srcs := $(foreach u,$(host-util-bin),$(sort $($(u)-objs:%.o=util/%.c) util/ # Don't do a build test on the following boards: skip_boards = OWNERS host it83xx_evb +# Skip building cr50 if private folder is not present +ifeq ("$(wildcard ./private-cr51)","") +skip_boards += cr50 +endif boards := $(filter-out $(skip_boards),$(notdir $(wildcard board/* private*/board/*))) # Create output directories if necessary -- cgit v1.2.1