1419b0af8Sopenharmony_ciKERNEL_DIR := $(srctree) 2419b0af8Sopenharmony_ci 3419b0af8Sopenharmony_ciifneq ($(TARGET_BUILD_VARIANT), user) 4419b0af8Sopenharmony_ci ccflags-y += -DDEF_ENG 5419b0af8Sopenharmony_ciendif 6419b0af8Sopenharmony_ci 7419b0af8Sopenharmony_ciEXTRA_CFLAGS += -I$(KERNEL_DIR)/bounds_checking_function/include 8419b0af8Sopenharmony_ciEXTRA_CFLAGS += -I$(KERNEL_DIR)/drivers/tzdriver 9419b0af8Sopenharmony_ciEXTRA_CFLAGS += -I$(KERNEL_DIR)/drivers/tzdriver/core 10419b0af8Sopenharmony_ciEXTRA_CFLAGS += -I$(KERNEL_DIR)/drivers/tzdriver/include 11419b0af8Sopenharmony_ci 12419b0af8Sopenharmony_ciifeq ($(CONFIG_TZDRIVER_INTERNAL), y) 13419b0af8Sopenharmony_ci include $(KERNEL_DIR)/drivers/tzdriver/tzdriver_internal/internal.mk 14419b0af8Sopenharmony_ciendif 15419b0af8Sopenharmony_ci 16419b0af8Sopenharmony_ciobj-$(CONFIG_TEELOG) += tlogger.o 17419b0af8Sopenharmony_ci# For tee log memory type: bbox, rdr, or pages 18419b0af8Sopenharmony_ci# If no log mechanism is available, the pages memory can be used. 19419b0af8Sopenharmony_ciobj-$(CONFIG_PAGES_MEM) += log_pages_cfg.o 20