xref: /kernel/linux/common_modules/tzdriver/ion/Makefile
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/common_modules/tzdriver/ion/
1419b0af8Sopenharmony_ciKERNEL_DIR :=$(srctree)
2419b0af8Sopenharmony_ci
3419b0af8Sopenharmony_ciifneq ($(TARGET_BUILD_VARIANT),user)
4419b0af8Sopenharmony_ci	ccflags-y += -DDEF_ENG
5419b0af8Sopenharmony_ciendif
6419b0af8Sopenharmony_ci
7419b0af8Sopenharmony_ciEXTRA_CFLAGS += -I$(KERNEL_DIR)/drivers/tzdriver
8419b0af8Sopenharmony_ciEXTRA_CFLAGS += -I$(KERNEL_DIR)/drivers/tzdriver/core
9419b0af8Sopenharmony_ciEXTRA_CFLAGS += -I$(KERNEL_DIR)/drivers/staging/android
10419b0af8Sopenharmony_ci
11419b0af8Sopenharmony_ciobj-$(CONFIG_STATIC_ION) += static_ion_mem.o
12419b0af8Sopenharmony_ciobj-$(CONFIG_DYNAMIC_ION) += dynamic_ion_mem.o
13419b0af8Sopenharmony_ciifneq ($(CONFIG_MTK_PLATFORM), )
14419b0af8Sopenharmony_ciobj-$(CONFIG_STATIC_ION) += mplat/declare_static_ion.o
15419b0af8Sopenharmony_cielse
16419b0af8Sopenharmony_ciobj-$(CONFIG_STATIC_ION) += generic/declare_static_ion.o
17419b0af8Sopenharmony_ciendif
18419b0af8Sopenharmony_ci
19419b0af8Sopenharmony_ciEXTRA_CFLAGS += -I$(KERNEL_DIR)/drivers/tzdriver/include
20419b0af8Sopenharmony_ciEXTRA_CFLAGS += -include internal_functions.h

Indexes created Thu Nov 07 10:32:03 CST 2024