• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright (c) 2020-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
15INPUT_ROOT_DIR = ../../../../../framework/model/input/driver
16
17obj-$(CONFIG_DRIVERS_HDF_INPUT) += \
18               $(INPUT_ROOT_DIR)/input_bus_ops/input_i2c_ops.o \
19               $(INPUT_ROOT_DIR)/hdf_input_device_manager.o \
20               $(INPUT_ROOT_DIR)/input_config_parser.o \
21               $(INPUT_ROOT_DIR)/event_hub.o \
22               $(INPUT_ROOT_DIR)/hdf_touch.o \
23               $(INPUT_ROOT_DIR)/hdf_key.o \
24               $(INPUT_ROOT_DIR)/hdf_hid_adapter.o
25
26obj-$(CONFIG_DRIVERS_HDF_TP_5P5_GT911) += \
27              $(INPUT_ROOT_DIR)/touchscreen/touch_gt911.o
28obj-$(CONFIG_ARCH_NXP_TOUCH) += \
29              $(INPUT_ROOT_DIR)/touchscreen/touch_ft5x06.o
30obj-$(CONFIG_DRIVERS_HDF_TP_2P35_FT6236) += \
31              $(INPUT_ROOT_DIR)/touchscreen/touch_ft6336.o
32obj-$(CONFIG_DRIVERS_HDF_INPUT_INFRARED) += \
33              $(INPUT_ROOT_DIR)/hdf_infrared.o
34obj-$(CONFIG_DRIVERS_HDF_TP_5P43_FT5406) += \
35              $(INPUT_ROOT_DIR)/touchscreen/touch_ft5406.o
36
37ccflags-y +=-I$(srctree)/drivers/hdf/framework/model/input/driver \
38            -I$(srctree)/drivers/hdf/framework/model/input/driver/input_bus_ops \
39            -I$(srctree)/drivers/hdf/framework/include/core \
40            -I$(srctree)/drivers/hdf/framework/core/common/include/host \
41            -I$(srctree)/drivers/hdf/framework/include/utils \
42            -I$(srctree)/drivers/hdf/framework/include/osal \
43            -I$(srctree)/drivers/hdf/framework/include/platform \
44            -I$(srctree)/drivers/hdf/framework/include/config \
45            -I$(srctree)/drivers/hdf/framework/core/host/include \
46            -I$(srctree)/drivers/hdf/framework/core/shared/include \
47            -I$(srctree)/drivers/hdf/framework/utils/include \
48            -I$(srctree)/drivers/hdf/inner_api/osal/shared \
49            -I$(srctree)/drivers/hdf/inner_api/utils \
50            -I$(srctree)/drivers/hdf/inner_api/core \
51            -I$(srctree)/drivers/hdf/inner_api/host/shared \
52            -I$(srctree)/drivers/hdf/khdf/osal/include
53ccflags-y +=-I$(srctree)/bounds_checking_function/include \
54            -I$(srctree)/drivers/hdf/evdev
55