summaryrefstree
path: root/kernel/drivers/misc/tui/Makefile
blob: 2e26321bd013c2dc48ce9fd5a77319365f5f2fa3 (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
31
32
33
34
35
#
# Makefile for the stui Module
#

obj-$(CONFIG_SAMSUNG_TUI)	+= main.o
obj-$(CONFIG_SAMSUNG_TUI)	+= stui_core.o
obj-$(CONFIG_SAMSUNG_TUI)	+= stui_inf.o

ifeq ($(CONFIG_SOC_EXYNOS3250),y)
obj-$(CONFIG_SAMSUNG_TUI)	+= platforms/exynos3250/
endif
ifeq ($(CONFIG_SOC_EXYNOS7420),y)
obj-$(CONFIG_SAMSUNG_TUI)	+= platforms/exynos7420/
ccflags-$(CONFIG_SAMSUNG_TUI)	+= -Idrivers/video/exynos/decon
endif
ifeq ($(CONFIG_SOC_EXYNOS7885),y)
obj-$(CONFIG_SAMSUNG_TUI)	+= platforms/exynos7885/
ccflags-$(CONFIG_SAMSUNG_TUI)	+= -Idrivers/video/fbdev/exynos/dpu_7885
endif
ifeq ($(CONFIG_SOC_EXYNOS8895),y)
obj-$(CONFIG_SAMSUNG_TUI)	+= platforms/exynos8895/
ccflags-$(CONFIG_SAMSUNG_TUI)	+= -Idrivers/video/exynos/dpu
endif
ifeq ($(CONFIG_SOC_EXYNOS9820),y)
ccflags-$(CONFIG_SAMSUNG_TUI)	+= -DUSE_TEE_CLIENT_API
ccflags-$(CONFIG_SAMSUNG_TUI)	+= -Idrivers/misc/tzdev/include/tzdev
ccflags-$(CONFIG_SAMSUNG_TUI)	+= -Idrivers/video/fbdev/exynos/dpu20
obj-$(CONFIG_SAMSUNG_TUI)	+= platforms/exynos9820/
endif
ifeq ($(CONFIG_MACH_MT6757),y)
obj-$(CONFIG_SAMSUNG_TUI)	+= platforms/mt6757/
endif

ccflags-$(CONFIG_SAMSUNG_TUI_TEST)	+= -DSAMSUNG_TUI_TEST
obj-$(CONFIG_SAMSUNG_TUI_TEST)	+= test_driver/