12fe4e5f8Sopenharmony_ci#
22fe4e5f8Sopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd.
32fe4e5f8Sopenharmony_ci#
42fe4e5f8Sopenharmony_ci# This software is licensed under the terms of the GNU General Public
52fe4e5f8Sopenharmony_ci# License version 2, as published by the Free Software Foundation, and
62fe4e5f8Sopenharmony_ci# may be copied, distributed, and modified under those terms.
72fe4e5f8Sopenharmony_ci#
82fe4e5f8Sopenharmony_ci# This program is distributed in the hope that it will be useful,
92fe4e5f8Sopenharmony_ci# but WITHOUT ANY WARRANTY; without even the implied warranty of
102fe4e5f8Sopenharmony_ci# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
112fe4e5f8Sopenharmony_ci# GNU General Public License for more details.
122fe4e5f8Sopenharmony_ci#
132fe4e5f8Sopenharmony_ci#
142fe4e5f8Sopenharmony_ci
152fe4e5f8Sopenharmony_ciKHDF_AUDIO_KHDF_ROOT_DIR = drivers/hdf/khdf
162fe4e5f8Sopenharmony_ciKHDF_FRAMEWORK_ROOT_DIR = drivers/hdf/framework
172fe4e5f8Sopenharmony_ciKHDF_AUDIO_HI3516DV300_DIR = $(KHDF_AUDIO_BASE_ROOT_DIR)/device/board/hisilicon/hispark_taurus/audio_drivers
182fe4e5f8Sopenharmony_ciKHDF_AUDIO_HI3516DV300_INC_DIR = drivers/hdf/framework/../../../device/board/hisilicon/hispark_taurus/audio_drivers
192fe4e5f8Sopenharmony_ci
202fe4e5f8Sopenharmony_ciobj-$(CONFIG_DRIVERS_HDF_AUDIO_HI3516CODEC) += \
212fe4e5f8Sopenharmony_ci        codec/tfa9879/src/tfa9879_codec_adapter.o \
222fe4e5f8Sopenharmony_ci        codec/tfa9879/src/tfa9879_codec_ops.o \
232fe4e5f8Sopenharmony_ci        codec/hi3516/src/hi3516_codec_adapter.o \
242fe4e5f8Sopenharmony_ci        codec/hi3516/src/hi3516_codec_impl.o \
252fe4e5f8Sopenharmony_ci        codec/hi3516/src/hi3516_codec_ops.o \
262fe4e5f8Sopenharmony_ci        dsp/src/dsp_adapter.o \
272fe4e5f8Sopenharmony_ci        dsp/src/dsp_ops.o \
282fe4e5f8Sopenharmony_ci        soc/src/hi3516_dai_adapter.o \
292fe4e5f8Sopenharmony_ci        soc/src/hi3516_dai_ops.o \
302fe4e5f8Sopenharmony_ci        soc/src/hi3516_aiao_impl.o \
312fe4e5f8Sopenharmony_ci        soc/src/hi3516_dma_ops.o \
322fe4e5f8Sopenharmony_ci        soc/src/hi3516_dma_adapter.o
332fe4e5f8Sopenharmony_ci
342fe4e5f8Sopenharmony_ciccflags-$(CONFIG_DRIVERS_HDF_AUDIO_HI3516CODEC) += \
352fe4e5f8Sopenharmony_ci        -I$(srctree)/$(KHDF_AUDIO_KHDF_ROOT_DIR)/osal/include \
362fe4e5f8Sopenharmony_ci        -I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/include/core \
372fe4e5f8Sopenharmony_ci        -I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/include/utils \
382fe4e5f8Sopenharmony_ci        -I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/include/osal \
392fe4e5f8Sopenharmony_ci        -I$(srctree)/drivers/hdf/inner_api/host/shared \
402fe4e5f8Sopenharmony_ci        -I$(srctree)/drivers/hdf/inner_api/osal/shared \
412fe4e5f8Sopenharmony_ci        -I$(srctree)/drivers/hdf/inner_api/utils \
422fe4e5f8Sopenharmony_ci        -I$(srctree)/drivers/hdf/inner_api/core \
432fe4e5f8Sopenharmony_ci        -I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/include/platform \
442fe4e5f8Sopenharmony_ci        -I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/include/config \
452fe4e5f8Sopenharmony_ci        -I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/include/audio \
462fe4e5f8Sopenharmony_ci        -I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/ability/sbuf/include \
472fe4e5f8Sopenharmony_ci        -I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/core/common/include/host \
482fe4e5f8Sopenharmony_ci        -I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/core/host/include \
492fe4e5f8Sopenharmony_ci        -I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/model/audio/core/include \
502fe4e5f8Sopenharmony_ci        -I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/model/audio/sapm/include \
512fe4e5f8Sopenharmony_ci        -I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/model/audio/dispatch/include \
522fe4e5f8Sopenharmony_ci        -I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/model/audio/common/include \
532fe4e5f8Sopenharmony_ci        -I$(srctree)/bounds_checking_function/include \
542fe4e5f8Sopenharmony_ci        -I$(srctree)/$(KHDF_AUDIO_HI3516DV300_INC_DIR)/codec/hi3516/include \
552fe4e5f8Sopenharmony_ci        -I$(srctree)/$(KHDF_AUDIO_HI3516DV300_INC_DIR)/soc/include \
562fe4e5f8Sopenharmony_ci        -I$(srctree)/$(KHDF_AUDIO_HI3516DV300_INC_DIR)/dsp/include \
572fe4e5f8Sopenharmony_ci        -I$(srctree)/$(KHDF_AUDIO_HI3516DV300_INC_DIR)/codec/tfa9879/include
58