summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2020-09-18 16:27:16 -0600
committerCommit Bot <commit-bot@chromium.org>2020-09-22 01:03:08 +0000
commit17838629321431d8248f3ade35993a9f21242477 (patch)
tree824c48ed31cf6cf3a4617d4cfcbc9b33b4e5e2e0 /Makefile
parent986c4bb2ae2a0469cd9162fd111e68cefb94b749 (diff)
downloadchrome-ec-17838629321431d8248f3ade35993a9f21242477.tar.gz
Makefile: add support for private-kandou directory
BUG=b:168930682 BRANCH=none TEST=make buildall Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I658f309644cdbeb050523cab722de71bb052bf25 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2421301 Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 11dc09bcb7..1db6de37b2 100644
--- a/Makefile
+++ b/Makefile
@@ -262,6 +262,7 @@ include driver/build.mk
include fuzz/build.mk
include power/build.mk
-include private/build.mk
+-include private-kandou/build.mk
ifneq ($(PDIR),)
include $(PDIR)/build.mk
endif
@@ -285,6 +286,7 @@ all-obj-$(1)+=$(call objs_from_dir_p,chip/$(CHIP),chip,$(1))
all-obj-$(1)+=$(call objs_from_dir_p,$(BASEDIR),baseboard,$(1))
all-obj-$(1)+=$(call objs_from_dir_p,$(BDIR),board,$(1))
all-obj-$(1)+=$(call objs_from_dir_p,private,private,$(1))
+all-obj-$(1)+=$(call objs_from_dir_p,private-kandou,private-kandou,$(1))
ifneq ($(PDIR),)
all-obj-$(1)+=$(call objs_from_dir_p,$(PDIR),$(PDIR),$(1))
endif
@@ -310,7 +312,7 @@ $(eval $(call get_sources,ro))
dirs=core/$(CORE) chip/$(CHIP) $(BASEDIR) $(BDIR) common fuzz power test \
cts/common cts/$(CTS_MODULE) $(out)/gen
-dirs+= private $(PDIR) $(PBDIR)
+dirs+= private private-kandou $(PDIR) $(PBDIR)
dirs+=$(shell find common -type d)
dirs+=$(shell find driver -type d)
common_dirs=util