aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich Ölmann <u.oelmann@pengutronix.de>2021-03-04 14:23:40 +0100
committerSean Young <sean@mess.org>2021-04-09 13:22:22 +0100
commit01f2c6c58e6f4441df7df8e27eb7919f1f01e310 (patch)
treec9218c8d8606f1349ee8177e6f212b6e29b55a1c
parent3f61e353424fb9ea3dce742022b94dfd7ea1ed9f (diff)
downloadv4l-utils-01f2c6c58e6f4441df7df8e27eb7919f1f01e310.tar.gz
keytable: restrict installation of 50-rc_keymap.conf
It is only needed if BPF is effectively used and the package is compiled for a systemd based target. Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Sean Young <sean@mess.org>
-rw-r--r--utils/keytable/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/keytable/Makefile.am b/utils/keytable/Makefile.am
index c5eb414a..eee61f0e 100644
--- a/utils/keytable/Makefile.am
+++ b/utils/keytable/Makefile.am
@@ -3,9 +3,13 @@ man_MANS = ir-keytable.1 rc_keymap.5
sysconf_DATA = rc_maps.cfg
keytablesystem_DATA = $(srcdir)/rc_keymaps/*
udevrules_DATA = 70-infrared.rules
+if WITH_BPF
+if HAVE_SYSTEMD
if HAVE_UDEVDSYSCALLFILTER
systemdsystemunit_DATA = 50-rc_keymap.conf
endif
+endif
+endif
ir_keytable_SOURCES = keytable.c parse.h ir-encode.c ir-encode.h toml.c toml.h keymap.c keymap.h