summaryrefslogtreecommitdiffstats
path: root/rules.d/meson.build
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-07-29 23:32:53 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-08-03 13:37:16 +0200
commit12b4cffdae29445d4bce32567c314c9c9700eb2d (patch)
tree32b956646a5bcd512dca7ca377a08f4b6b520938 /rules.d/meson.build
parenttest: fix test executable name (diff)
downloadsystemd-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.build2
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],