commit | 292c917e4d4635640923d3c95885650d8f30c05f | [log] [tgz] |
---|---|---|
author | Thang Tran <thuutran@amperecomputing.com> | Mon Jun 26 10:03:04 2023 +0700 |
committer | Thang Tran <thuutran@amperecomputing.com> | Mon Aug 07 02:26:23 2023 +0000 |
tree | ed3900dc5057d2f4f3d36a64d4b66f63b6d74995 | |
parent | 3e3cc35bd2d2efeee76bafc406d76bdef87c20b6 [diff] |
Support to build storage commands in libipmi20 Currently, the storage commands only is built in the libdynamicsensor library. To build those commands, we have to enable dynamic-sensor option which makes sensor commands are built too. To allow compiling storage commands w/o sensor commands, this commit adds 'dynamic-storages-only' option to request to build storage commands in libipmi20 library. Tested: 1. Disable dynamic-sensor option and enable dynamic-storages-only option. 2. Built the openBmc image and flash to the board. 3. Request to read/write FRU device via ipmitool. All of request work well. 4. Request to read SEL list. Display list of SEL logs. Signed-off-by: Thang Tran <thuutran@amperecomputing.com> Change-Id: I330919e7eebbb80bf568f36ead69ade670b2f8d1
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage