mali mess
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / misc / mediatek / gpu / mt8127 / mali / mali / Kbuild-mtk-custom-src
CommitLineData
6fa3eb70
S
1#mtk custom port
2
3
4#Debug version (BUILD := debug not eatten by kbuild)
5ccflags-y += -DDEBUG
6
7#Move user ump include to kernel source code
8ccflags-y += -I$(DRIVER_DIR)/../ump_include/ump
9
10#include mtk kernel header files
6fa3eb70 11ccflags-y += \
6fa3eb70 12 -I$(srctree)/include/linux \
6fa3eb70
S
13
14#Add MTK custom source code
15ccflags-y += -I$(DRIVER_DIR)/../../mediatek
16mali-y += ../../mediatek/mtk_mali_kernel.o
6fa3eb70
S
17
18ccflags-y += -DMALI_FAKE_PLATFORM_DEVICE
19
20#Add function trace functionality
21#ccflags-y += -finstrument-functions
22#mali-y += platform/$(TARGET_PLATFORM)/mtk_ptrace.c
23
02af6beb 24mali-y += platform/arm_core_scaling.o
6fa3eb70
S
25mali-y += platform/platform.o
26mali-y += platform/platform_pmm.o
27
6fa3eb70 28#MTK_DEBUG
6fa3eb70 29
02af6beb
S
30#Add include path for kernel 3.10
31ccflags-y += -I$(srctree)/drivers/staging/android