ifeq "$(ROOTDIR)" "" 
export ROOTDIR=$(shell while true; do if [ -f BaseVar.mk ]; then pwd;exit; else cd ..;fi;done;)
endif
include $(ROOTDIR)/.config

subdir-y += boot filesystem kernel driver opensource
ifeq ("$(CONFIG_TBS_SUPPORT_VOIP)","y")
VTP_PROJECT_NAME=VTP_proj
VTP_DIR=$(shell if [ -d "$(VTP_PROJECT_NAME)" ]; then echo $(VTP_PROJECT_NAME); fi)
subdir-y += $(VTP_DIR)
endif
subdir-y += apps vendor


include $(ROOTDIR)/Rules.make
