commit | 127a24bfd495e610502f1fed30c0f9810d0a73fb | [log] [tgz] |
---|---|---|
author | Lei YU <yulei.sh@bytedance.com> | Tue Jun 27 17:45:53 2023 +0800 |
committer | Lei YU <yulei.sh@bytedance.com> | Tue Jun 27 17:45:53 2023 +0800 |
tree | 14f43301614c1ece3142aa55efdc386e03215824 | |
parent | cbfa6e1d2bb51f5c38d03a220c79653a0f569e9a [diff] |
meson: Move IPMI_SMS_ATN_ACK_TIMEOUT_SECS out of softoff The config `IPMI_SMS_ATN_ACK_TIMEOUT_SECS` is used by `host-interface.cpp` and `host-cmd-manager.cpp`, which are not specific to softoff, and it gets compile error when `softoff` is disabled. Move the config out of `softoff` feature, so that it compiles OK with or without `softoff` feature. Tested: Verify the repo compile with `-Dsoftoff=disabled`. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I03edc40684045a27255d5184ac6056f7181b0492
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