diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-07-29 23:32:53 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-08-03 13:37:16 +0200 |
commit | 12b4cffdae29445d4bce32567c314c9c9700eb2d (patch) | |
tree | 32b956646a5bcd512dca7ca377a08f4b6b520938 /rules.d/meson.build | |
parent | test: fix test executable name (diff) | |
download | systemd-12b4cffdae29445d4bce32567c314c9c9700eb2d.tar.xz systemd-12b4cffdae29445d4bce32567c314c9c9700eb2d.zip |
meson: introduce HAVE_DMI flag
The condition is used at several places. Let's introduce a simple flag
for that.
Diffstat (limited to 'rules.d/meson.build')
-rw-r--r-- | rules.d/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.d/meson.build b/rules.d/meson.build index 20fca222da..13f25397dc 100644 --- a/rules.d/meson.build +++ b/rules.d/meson.build @@ -36,7 +36,7 @@ rules = [ conf.get('HAVE_KMOD') == 1], [files('70-memory.rules'), - dmi_arches.contains(host_machine.cpu_family())], + conf.get('HAVE_DMI') == 1], [files('70-power-switch.rules'), enable_logind], |