mirror of
https://gitee.com/openharmony/third_party_libnl
synced 2024-11-23 18:19:50 +00:00
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:
parent
ea7cfb7631
commit
52ecec8278
@ -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)
|
||||
|
@ -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.h,lib目录下生成defs.h文件
|
||||
注:上述脚本进行了如下操作,首先安装了autoconf、libtool、pkg-config工具,其次执行libnl根目录autogen.sh,生成configure、defs.h.in和defs.h.in~文件。然后执行configure,会在include/netlink目录下生成version.h,lib目录下生成defs.h文件,libnl根目录下生成Makefile文件。最后执行make,会在lib/route/cls目录下生成ematch_grammar.c、ematch_grammar.h、ematch_syntax.c、ematch_syntax.h,lib/route目录下生成pktloc_grammar.c、pktloc_grammar.h、pktloc_syntax.c、pktloc_syntax.h文件。
|
||||
|
||||
#### 参与贡献
|
||||
|
||||
|
@ -17,5 +17,6 @@ sudo apt-get install libtool
|
||||
sudo apt-get install pkg-config
|
||||
./autogen.sh
|
||||
./configure
|
||||
make
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user