Files
linux/security/optee_linuxdriver/core/Makefile
Zhang Zhijie 0c87e75a8e OP-TEE: build optee_linuxdriver into kernel
Change-Id: I4cacc3b0670643ab02af592549de988f11c378df
Signed-off-by: Zhang Zhijie <zhangzj@rock-chips.com>
2015-10-22 12:13:58 +08:00

36 lines
916 B
Makefile

CFG_TEE_CORE_CORE_TARGET := armv7
#########################################################################
# Set Internal Variables #
# May be modified to match your setup #
#########################################################################
CFG_TEE_DRV_DEBUGFS?=0
CFG_TEE_CORE_LOG_LEVEL?=2
CFG_TEE_TA_LOG_LEVEL?=2
M ?= security/optee_linuxdriver
ccflags-y+=-Werror
ccflags-y+=-I$(M)/include/linux
ccflags-y+=-I$(M)/include
ccflags-y+=-DCFG_TEE_DRV_DEBUGFS=${CFG_TEE_DRV_DEBUGFS}
ccflags-y+=-DCFG_TEE_CORE_LOG_LEVEL=${CFG_TEE_CORE_LOG_LEVEL}
ccflags-y+=-DCFG_TEE_TA_LOG_LEVEL=${CFG_TEE_TA_LOG_LEVEL}
obj-y += optee.o
optee-objs:= \
tee_core.o \
tee_context.o \
tee_session.o \
tee_shm.o \
tee_supp_com.o \
tee_sysfs.o \
tee_debugfs.o \
tee_kernel_api.o \
tee_mutex_wait.o \
tee_wait_queue.o \