blob: cdcac15bc0eebd6e16a151b9d6f53f6940279c9f [file] [log] [blame]
#
# Copyright (C) 2018 MediaTek Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# MTK TEE efuse read makefile.
#ccflags-y += -I$(DEVICE_MODULES_PATH)/drivers/misc/mediatek/include/mt-plat/$(MTK_PLATFORM)/include
#ccflags-y += -I$(DEVICE_MODULES_PATH)/drivers/misc/mediatek/include/mt-plat/$(MTK_PLATFORM)/include/trustzone/tz_cross
ccflags-y += -I$(DEVICE_MODULES_PATH)/drivers/misc/mediatek/include/mt-plat/trustzone/tz_cross
ccflags-y += -I$(DEVICE_MODULES_PATH)/drivers/misc/mediatek/include/mt-plat/trustzone
#ccflags-y += -I$(DEVICE_MODULES_PATH)/include/trustzone
ifneq ($(filter y m, $(CONFIG_DEVICE_MODULES_TEE)),)
obj-$(CONFIG_MTK_SECURE_EFUSE) += optee_read.o
endif