未验证 提交 9f67b0d5 编写于 作者: 周文剑 提交者: Gitee

update zh-cn/device-dev/porting/porting-linux-kernel.md. 新增drivers/staging/Makefile中hilog和hievent代码

drivers/staging/Makefile中缺少hilog和hievent的代码
Signed-off-by: NZhou Wenjian <zhou_wenjian@hoperun.com>
上级 65f227f0
......@@ -135,6 +135,12 @@ source "drivers/staging/hievent/Kconfig"
```
在三方内核的drivers/staging/Makefile文件内增加如下代码:
```
obj-$(CONFIG_HILOG) += hilog/
obj-$(CONFIG_HIEVENT) += hievent/
```
在内核config项中打开对应的CONFIG控制宏:CONFIG_HILOG和CONFIG_HIEVENT。
具体日志使用说明请参见:[Hilog_lite组件介绍](https://gitee.com/openharmony/hiviewdfx_hilog_lite/blob/master/README_zh.md)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册