commit | 05edc22e0cee0cb6c9c6e57c924f12edcecdd90a | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Dec 07 10:56:58 2022 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Dec 07 11:06:43 2022 -0500 |
tree | 07356be23ac5312f08b34ff157be57d18dd11241 | |
parent | 380998bc0e0c58bd6b3d35aaac06b84d5a49b4b5 [diff] |
build: add pkg-config Allow libpeci to be discovered via pkg-config. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I8269bac5d3375306f5be7afb665e3cc6a61d164c
libpeci is a library that provides various APIs to interface with the IOCTLs provided by the PECI driver in the OpenBMC kernel. Currently available here:
https://github.com/openbmc/linux/blob/dev-5.4/include/uapi/linux/peci-ioctl.h
This repo also includes a peci_cmds command-line utility with functions that map to the libpeci APIs. It can be used to test PECI functionality across the library, driver, and hardware.
This repo also includes dbus_raw_peci which provides a raw-peci daemon that exposes a raw PECI interface that is accessible over D-Bus. It can be used when an application needs to send a raw PECI command without loading the full PECI library.