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:
parent
77b0e4d34d
commit
8f77279c0a
5
Makefile
5
Makefile
|
@ -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
|
||||
|
||||
|
|
|
@ -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) ] || \
|
||||
|
|
Loading…
Reference in New Issue