mirror of
https://github.com/openharmony/drivers_adapter_khdf_linux.git
synced 2026-07-01 22:33:59 -04:00
!219 feat : Add the Light function module
Merge pull request !219 from xwbmcu/master
This commit is contained in:
@@ -52,6 +52,7 @@ obj-$(CONFIG_DRIVERS_HDF_USB_F_GENERIC) += model/usb/device/
|
||||
obj-$(CONFIG_DRIVERS_HDF_SENSOR) += model/sensor/
|
||||
obj-$(CONFIG_DRIVERS_HDF_STORAGE) += model/storage/
|
||||
obj-$(CONFIG_DRIVERS_HDF_BT) += model/network/bluetooth/
|
||||
obj-$(CONFIG_DRIVERS_HDF_LIGHT) += model/misc/light/
|
||||
obj-$(CONFIG_DRIVERS_HDF_VIBRATOR) += model/misc/vibrator/
|
||||
obj-$(CONFIG_DRIVERS_HDF_AUDIO) += model/audio/
|
||||
obj-$(CONFIG_DRIVERS_HDF_DSOFTBUS) += model/misc/dsoftbus/
|
||||
|
||||
Executable
+17
@@ -0,0 +1,17 @@
|
||||
# Copyright (c) 2022 Huawei Device Co., Ltd.
|
||||
#
|
||||
# This software is licensed under the terms of the GNU General Public
|
||||
# License version 2, as published by the Free Software Foundation, and
|
||||
# may be copied, distributed, and modified under those terms.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
config DRIVERS_HDF_LIGHT
|
||||
bool "Enable HDF light driver"
|
||||
default n
|
||||
depends on DRIVERS_HDF
|
||||
help
|
||||
Answer Y to enable HDF light driver.
|
||||
Executable
+31
@@ -0,0 +1,31 @@
|
||||
#
|
||||
# Copyright (c) 2022 Huawei Device Co., Ltd.
|
||||
#
|
||||
# This software is licensed under the terms of the GNU General Public
|
||||
# License version 2, as published by the Free Software Foundation, and
|
||||
# may be copied, distributed, and modified under those terms.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
#
|
||||
|
||||
LIGHT_ROOT_DIR = ../../../../../../framework/model/misc/light/driver
|
||||
|
||||
obj-$(CONFIG_DRIVERS_HDF_LIGHT) += \
|
||||
$(LIGHT_ROOT_DIR)/src/light_driver.o
|
||||
|
||||
ccflags-y +=-I$(srctree)/drivers/hdf/framework/model/misc/light/driver/include \
|
||||
-I$(srctree)/drivers/hdf/framework/include/core \
|
||||
-I$(srctree)/drivers/hdf/framework/core/common/include/host \
|
||||
-I$(srctree)/drivers/hdf/framework/include/utils \
|
||||
-I$(srctree)/drivers/hdf/framework/include/osal \
|
||||
-I$(srctree)/drivers/hdf/framework/include/platform \
|
||||
-I$(srctree)/drivers/hdf/framework/include/config \
|
||||
-I$(srctree)/drivers/hdf/framework/core/host/include \
|
||||
-I$(srctree)/drivers/hdf/framework/core/shared/include \
|
||||
-I$(srctree)/drivers/hdf/framework/utils/include \
|
||||
-I$(srctree)/drivers/hdf/khdf/osal/include \
|
||||
-I$(srctree)/bounds_checking_function/include
|
||||
Reference in New Issue
Block a user