You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.2 KiB
30 lines
1.2 KiB
# |
|
# Copyright (C) 2015 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. |
|
# |
|
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/m4u/$(MTK_PLATFORM) |
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/include/mt-plat |
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/mmp/ |
|
ccflags-y += -I$(srctree)/arch/arm |
|
ifeq ($(CONFIG_TRUSTONIC_TEE_SUPPORT),y) |
|
include $(srctree)/drivers/misc/mediatek/gud/Makefile.include |
|
endif |
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/include/mt-plat/$(MTK_PLATFORM)/include/trustzone/m4u |
|
|
|
ifeq ($(CONFIG_MTK_LEGACY_SECMEM_SUPPORT),y) |
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/secmem/ |
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/secmem/$(MTK_PLATFORM)/ |
|
else ifeq ($(CONFIG_MTK_SECURE_MEM_SUPPORT),y) |
|
include $(srctree)/drivers/misc/mediatek/trusted_mem/Makefile.include |
|
endif |
|
|
|
obj-y += m4u.o m4u_mva.o m4u_pgtable.o m4u_debug.o
|
|
|