Description: Add the libnl source file

Feature or Bugfix: Feature
Binary Source: No

Signed-off-by: jiachanglin <jiachanglin@huawei.com>
This commit is contained in:
jiachanglin 2022-03-07 05:14:19 +00:00
parent ea7cfb7631
commit 52ecec8278
3 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,7 @@ In this warehouse include/netlink/version.h and lib/defs.h file is generated thr
```
bash install_tool.sh
```
Note:The preceding script performs following operations:Install the autoconf,libtool and pkg-config tools,execute the autogen.sh file in the libnl root directory,generate the configure,defs.h.in and defs.h.in~ files,and then execute the configure command,The version.h file is generated in the include/netlink directory and defs.h file is generated in the lib directory.
Note:The preceding script performs following operations:Install the autoconf,libtool and pkg-config tools,execute the autogen.sh file in the libnl root directory,generate the configure,defs.h.in and defs.h.in~ files,and then execute the configure command,The version.h file is generated in the include/netlink directory,defs.h file is generated in the lib directory and Makefile is generated in libnl root directory.and then execute the make command,The ematch_grammar.c、ematch_grammar.h、ematch_syntax.c、ematch_syntax.h file is generated in the lib/route/cls directory,pktloc_grammar.c、pktloc_grammar.h、pktloc_syntax.c、pktloc_syntax.h file is generated in the lib/route directory
#### Contribution
[How to involve](https://gitee.com/openharmony/docs/blob/HEAD/zh-cn/contribute/参与贡献.md)

View File

@ -16,7 +16,7 @@
```
bash install_tool.sh
```
上述脚本进行了如下操作首先安装了autoconf、libtool、pkg-config工具然后执行libnl根目录autogen.sh生成configure、defs.h.in和defs.h.in~文件。最后执行configure会在include/netlink目录下生成version.hlib目录下生成defs.h文件
上述脚本进行了如下操作首先安装了autoconf、libtool、pkg-config工具其次执行libnl根目录autogen.sh生成configure、defs.h.in和defs.h.in~文件。然后执行configure会在include/netlink目录下生成version.hlib目录下生成defs.h文件libnl根目录下生成Makefile文件。最后执行make会在lib/route/cls目录下生成ematch_grammar.c、ematch_grammar.h、ematch_syntax.c、ematch_syntax.hlib/route目录下生成pktloc_grammar.c、pktloc_grammar.h、pktloc_syntax.c、pktloc_syntax.h文件。
#### 参与贡献

View File

@ -17,5 +17,6 @@ sudo apt-get install libtool
sudo apt-get install pkg-config
./autogen.sh
./configure
make
exit 0