kernel_samsung_a34x-permissive/drivers/misc/mediatek/adsp/mt6885/Makefile
2024-04-28 15:51:13 +02:00

26 lines
817 B
Makefile

# SPDX-License-Identifier: GPL-2.0
ADSP_VERSION := common_v2
ADSP_VERSION_PATH := ../$(ADSP_VERSION)
obj-y += $(ADSP_VERSION_PATH)/
obj-y += adsp_awake.o
#obj-y += adsp_dvfs.o
#obj-y += adsp_plat.o
obj-y += adsp_clk.o
#obj-y += adsp_bus_monitor.o
obj-y += adsp_reserved_mem.o
obj-y += adsp_platform_driver.o adsp_platform.o
obj-y += adsp_mbox.o
obj-y += adsp_excep.o
ccflags-y += -I$(srctree)/drivers/misc/mediatek/adsp/common_v2
ccflags-y += -I$(srctree)/drivers/misc/mediatek/audio_ipi/common_v2/framework
ccflags-y += -I$(srctree)/drivers/misc/mediatek/include/mt-plat/$(CONFIG_MTK_PLATFORM)/include/mach
ccflags-y += -I$(srctree)/drivers/misc/mediatek/base/power/include
ccflags-y += -I$(srctree)/sound/soc/mediatek/$(CONFIG_MTK_PLATFORM)
ifeq ($(CONFIG_MTK_ENG_BUILD),y)
CFLAGS_adsp_excep.o += -DDEBUG
endif