1#
2# Copyright (c) 2020-2023 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
15include drivers/hdf/khdf/platform/platform.mk
16ccflags-y += -DUSER_I2C_SUPPORT
17obj-y  += $(HDF_PLATFORM_FRAMEWORKS_ROOT)/src/i2c/i2c_core.o \
18          $(HDF_PLATFORM_FRAMEWORKS_ROOT)/src/i2c/i2c_if.o \
19          $(HDF_PLATFORM_FRAMEWORKS_ROOT)/src/i2c/i2c_msg.o \
20          ./i2c_adapter.o
21