提交 7863c73f 编写于 作者: E ester.zhou

udpdate porting-linux-kernel.md

Signed-off-by: Nester.zhou <ester.zhou@huawei.com>
上级 c5345c22
......@@ -114,6 +114,13 @@ source "drivers/staging/hilog/Kconfig"
source "drivers/staging/hievent/Kconfig"
```
Add the following code to the third-party kernel file **Makefile** in the **drivers/staging** directory:
```
obj-$(CONFIG_HILOG) += hilog/
obj-$(CONFIG_HIEVENT) += hievent/
```
Enable the CONFIG macros **CONFIG\_HILOG** and **CONFIG\_HIEVENT** in the kernel **config** section.
For details about how to use the logs, see [Hilog\_lite](https://gitee.com/openharmony/hiviewdfx_hilog_lite/blob/master/README.md).
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册