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: I06ebdc7357b5ff4cd594adfb4cade141d3a2e675
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
1 file changed
tree: 63b7deee3ad6792c17d0904cb35534639ac0a7e0
  1. subprojects/
  2. watchdog/
  3. .clang-format
  4. .gitignore
  5. checkstop_app.cpp
  6. LICENSE
  7. meson.build
  8. meson.options
  9. OWNERS
  10. README.md
  11. watchdog_timeout.cpp
README.md

Building the Code

To build this package, do the following steps:

    1. meson build
    2. ninja -C build

To clean the repository run `rm -rf build`.