24 lines
570 B
Makefile
24 lines
570 B
Makefile
#
|
|
# Makefile for the Kinibi trusted UI driver
|
|
#
|
|
|
|
GUD_ROOT_FOLDER := drivers/gud/
|
|
|
|
# add our modules to kernel.
|
|
obj-$(CONFIG_TRUSTONIC_TRUSTED_UI) += TlcTui.o
|
|
|
|
TlcTui-y := main.o tlcTui.o trustedui.o 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
|