build: use allowed over enabled

Meson feature options are typically in a tri-state of enabled, disabled,
or auto.  The enabled and disabled functions on an option (from
`get_option`) no longer return true for auto features.  Instead, the
expectation is to use `allowed()` which is true for both enabled and auto.

Switch all uses of `enabled` to `allowed`.

Change-Id: I0db07582db115b8f7511183e37a718dad23f04ca
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
1 file changed
tree: e828b9d1b4ff2b51d89b60ea608912a01d23a27d
  1. linux/
  2. service_files/
  3. subprojects/
  4. .clang-format
  5. .clang-format-ignore
  6. dbus_raw_peci.cpp
  7. LICENSE
  8. meson.build
  9. meson.options
  10. OWNERS
  11. peci.c
  12. peci.h
  13. peci.pc.in
  14. peci_cmds.c
  15. README.md
README.md

libpeci

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

peci_cmds

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.

dbus_raw_peci

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.