• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright (c) 2021 Huawei Device Co., Ltd.
3#
4# This software is licensed under the terms of the GNU General Public
5# License version 2, as published by the Free Software Foundation, and
6# may be copied, distributed, and modified under those terms.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12#
13#
14
15VIBRATOR_ROOT_DIR = ../../../../../../framework/model/misc/vibrator/driver
16
17obj-$(CONFIG_DRIVERS_HDF_VIBRATOR) += \
18               $(VIBRATOR_ROOT_DIR)/src/vibrator_driver.o \
19               $(VIBRATOR_ROOT_DIR)/src/vibrator_haptic.o
20obj-$(CONFIG_DRIVERS_HDF_VIBRATOR_LINEAR) += \
21              $(VIBRATOR_ROOT_DIR)/chipset/vibrator_linear_driver.o
22
23
24ccflags-y +=-I$(srctree)/drivers/hdf/framework/model/misc/vibrator/driver/include \
25            -I$(srctree)/drivers/hdf/framework/model/misc/vibrator/driver/chipset \
26            -I$(srctree)/drivers/hdf/framework/include/core \
27            -I$(srctree)/drivers/hdf/framework/core/common/include/host \
28            -I$(srctree)/drivers/hdf/framework/include/utils \
29            -I$(srctree)/drivers/hdf/framework/include/osal \
30            -I$(srctree)/drivers/hdf/framework/include/platform \
31            -I$(srctree)/drivers/hdf/framework/include/config \
32            -I$(srctree)/drivers/hdf/framework/core/host/include \
33            -I$(srctree)/drivers/hdf/framework/core/shared/include \
34            -I$(srctree)/drivers/hdf/framework/utils/include \
35            -I$(srctree)/drivers/hdf/khdf/osal/include \
36            -I$(srctree)/bounds_checking_function/include
37