Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 888 Bytes

README.md

File metadata and controls

27 lines (23 loc) · 888 Bytes

Utility for configuring OpenBMC network

The project provides console utility that can be used for configuring network interfaces.

Build with OpenBMC SDK

OpenBMC SDK contains toolchain and all dependencies needed for building the project. See official documentation for details.

Build steps:

$ source /path/to/sdk/environment-setup-arm1176jzs-openbmc-linux-gnueabi
$ mkdir build_dir
$ meson build_dir
$ ninja -C build_dir

If build process succeeded, the directory build_dir contains executable file netconfig.

Testing

Unit tests can be built and run with OpenBMC SDK.

Run tests:

$ source /path/to/sdk/environment-setup-arm1176jzs-openbmc-linux-gnueabi
$ # build the project (see above)
$ qemu-arm -L ${SDKTARGETSYSROOT} build_dir/test/netconfig_test