未验证 提交 fecad887 编写于 作者: O openharmony_ci 提交者: Gitee

!1237 【轻量级 PR】:update zh-cn/device-dev/porting/porting-linux-kernel.md....

!1237 【轻量级 PR】:update zh-cn/device-dev/porting/porting-linux-kernel.md. 新增drivers/staging/Makefile中hilog和hievent代码
Merge pull request !1237 from 周文剑/N/A
......@@ -128,6 +128,12 @@ source "drivers/staging/hilog/Kconfig"
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.
先完成此消息的编辑!
想要评论请 注册