summaryrefstree
path: root/kernel/drivers/gud/gud-exynos9810/TlcTui/Makefile
blob: 43daef576a22aac04113415bf75239f8ccc2a85a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
# Makefile for the Kinibi trusted UI driver
#

GUD_ROOT_FOLDER := drivers/gud/gud-exynos9810
ifeq ($(CONFIG_SOC_EXYNOS9810),y)
PLATFORM := exynos9810
endif

# add our modules to kernel.
obj-$(CONFIG_TRUSTONIC_TRUSTED_UI) += TlcTui.o

TlcTui-y := main.o tlcTui.o trustedui.o \
platforms/$(PLATFORM)/tui-hal.o

# Release mode by default
ccflags-y += -DNDEBUG
ccflags-y += -Wno-declaration-after-statement

ccflags-$(CONFIG_TRUSTONIC_TEE_DEBUG) += -DDEBUG

# MobiCore Driver includes
ccflags-y += -I$(GUD_ROOT_FOLDER)/MobiCoreDriver/public

# MobiCore TlcTui required includes
ccflags-y += -I$(GUD_ROOT_FOLDER)/TlcTui/inc \
	     -I$(GUD_ROOT_FOLDER)/TlcTui/public \
	     -I$(GUD_ROOT_FOLDER)/TlcTui \
	     -Idrivers/video/fbdev/exynos/dpu_9810 \
	     -Idrivers/staging/android/ion/