linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Ulrich Ölmann" <u.oelmann@pengutronix.de>
To: linux-media@vger.kernel.org
Cc: "Ulrich Ölmann" <u.oelmann@pengutronix.de>
Subject: [PATCH v4l-utils v2 2/2] keytable: restrict installation of 50-rc_keymap.conf
Date: Thu,  4 Mar 2021 14:23:40 +0100	[thread overview]
Message-ID: <20210304132340.17069-2-u.oelmann@pengutronix.de> (raw)
In-Reply-To: <20210304132340.17069-1-u.oelmann@pengutronix.de>

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>
---
 utils/keytable/Makefile.am | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/utils/keytable/Makefile.am b/utils/keytable/Makefile.am
index c5eb414acf2f..eee61f0e0551 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
 
-- 
2.29.2


  reply	other threads:[~2021-03-04 13:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-04 13:23 [PATCH v4l-utils v2 1/2] configure.ac: autodetect availability of systemd Ulrich Ölmann
2021-03-04 13:23 ` Ulrich Ölmann [this message]
2021-03-26  8:16 ` Ulrich Ölmann
2021-04-06  7:53   ` Ulrich Ölmann
2021-04-09 12:36     ` Sean Young

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210304132340.17069-2-u.oelmann@pengutronix.de \
    --to=u.oelmann@pengutronix.de \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).