Makefile: add support for private-kandou directory
BRANCH=none
TEST=make buildall
@@ -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
