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_DRIVERS_HDF_TP_2P35_FT6236) += \ 29 $(INPUT_ROOT_DIR)/touchscreen/touch_ft6336.o 30 31ccflags-y +=-I$(srctree)/drivers/hdf/framework/model/input/driver \ 32 -I$(srctree)/drivers/hdf/framework/model/input/driver/input_bus_ops \ 33 -I$(srctree)/drivers/hdf/framework/include/core \ 34 -I$(srctree)/drivers/hdf/framework/core/common/include/host \ 35 -I$(srctree)/drivers/hdf/framework/include/utils \ 36 -I$(srctree)/drivers/hdf/framework/include/osal \ 37 -I$(srctree)/drivers/hdf/framework/include/platform \ 38 -I$(srctree)/drivers/hdf/framework/include/config \ 39 -I$(srctree)/drivers/hdf/framework/core/host/include \ 40 -I$(srctree)/drivers/hdf/framework/core/shared/include \ 41 -I$(srctree)/drivers/hdf/framework/utils/include \ 42 -I$(srctree)/drivers/hdf/khdf/osal/include 43ccflags-y +=-I$(srctree)/bounds_checking_function/include \ 44 -I$(srctree)/drivers/hdf/evdev 45