summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.rules4
1 files changed, 4 insertions, 0 deletions
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