未验证 提交 85e3d5a4 编写于 作者: K king_he 提交者: Gitee

update en/device-dev/driver/driver-hdf-development.md.

Signed-off-by: Nking_he <6384784@qq.com>
上级 e9bfd639
......@@ -70,9 +70,9 @@ The HDF-based driver development involves driver implementation and configuratio
2. Build the driver.<br/>
- LiteOS<br/>
Modify **makefile** and **BUILD.gn**.
Modify the **Makefile** and **BUILD.gn** files.
- **makefile**:<br/>
- **Makefile**:<br/>
Use the **makefile** template provided by the HDF to compile the driver code.
......@@ -90,7 +90,7 @@ The HDF-based driver development involves driver implementation and configuratio
```
LITEOS_BASELIB += -lxxx # Static library generated by the link.
LIB_SUBDIRS += # Directory in which the driver code makefile is located.
LIB_SUBDIRS += # Directory in which Makefile is located.
```
- **BUILD.gn**:<br/>
......@@ -141,7 +141,7 @@ The HDF-based driver development involves driver implementation and configuratio
obj-$(CONFIG_DRIVERS_HDF) += xxx/
```
Add a **Makefile** to the driver directory **xxx** and add code compiling rules of the driver to the **Makefile** file.
Add a **Makefile** to the driver directory **xxx** and add code compiling rules of the driver to the file.
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册