make: drop private- boards from consideration

We don't care about the private boards in the cr50 branch, let's not
build them when invoking 'make buildall'.

BRANCH=none
BUG=none
TEST='make buildall -j' still succeeds.

Change-Id: I36196ac34251e14dcdd04692fa5abdfb62bb699c
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/571456
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
This commit is contained in:
Vadim Bendebury 2017-07-13 20:37:03 -07:00 committed by ChromeOS Commit Bot
parent 77b0e4d34d
commit 8f77279c0a
2 changed files with 2 additions and 5 deletions

View File

@ -8,7 +8,7 @@
BOARD ?= bds
# Directory where the board is configured (includes /$(BOARD) at the end)
BDIR:=$(wildcard board/$(BOARD) private-*/board/$(BOARD))
BDIR:=$(wildcard board/$(BOARD))
# There can be only one <insert exploding windows here>
ifeq (,$(BDIR))
$(error unable to locate BOARD $(BOARD))
@ -16,9 +16,6 @@ endif
ifneq (1,$(words $(BDIR)))
$(error multiple definitions for BOARD $(BOARD): $(BDIR))
endif
ifneq ($(filter private-%,$(BDIR)),)
PDIR=$(subst /board/$(BOARD),,$(BDIR))
endif
PROJECT?=ec

View File

@ -17,7 +17,7 @@ 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
boards := $(filter-out $(skip_boards),$(notdir $(wildcard board/* private*/board/*)))
boards := $(filter-out $(skip_boards),$(notdir $(wildcard board/*)))
# Create output directories if necessary
_common_dir_create := $(foreach d,$(common_dirs),$(shell [ -d $(out)/$(d) ] || \