commit | 21a2354c80b70153e875d74e0a8ccfcbe398484a | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Thu May 19 14:38:33 2022 -0500 |
committer | Zane Shelley <zshelle@us.ibm.com> | Tue May 31 16:21:03 2022 +0000 |
tree | 4376e19eedd3b6eff1aaf215a8e4c61668407379 | |
parent | 1252846796f4ca677e026b1681abe5b5a718639f [diff] |
setup.py: Check for version in env var In order to allow the python package to have incrementing versions without having to change the version manually every time the code changes, check for the version to use in a PELTOOL_VERSION environment variable. If it isn't present, just use a default version of 1.0. The plan is that build tools will call setup.py with the env var set to a version based on the tag of the openbmc build they are being pulled into. This has the added bonus that it allows people to know which BMC code level the tool matches up with. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ia736d9ff2029b120235d3ef57d561ba43e75fe2a
This library is a common, portable code base for isolating errors reported by hardware registers on POWER Systems chips.
The primary consumers (and requirements drivers) will be:
See the primary API definitions for details on how to use this library.
This library can be integrated into a user application's source (either imported, or as a git subtree/submodule) or built as static library.
__HEI_ENABLE_HW_WRITE
: When defined, it will allow hardware write support. Note that the Chip Data Files will contain rules for clearing and masking register bits. Both of which will require modifying hardware registers, which is not allowed by user applications like OpenBMC or FSP firmware.src/include/
in the POWER Systems Hostboot firmware.For a standard OpenBMC release build, you want something like:
meson -Dtests=disabled <build_dir> ninja -C <build_dir> ninja -C <build_dir> install
For a test / debug build, a typical configuration is:
meson -Dtests=enabled <build_dir> ninja -C <build_dir> test