diff options
Diffstat (limited to 'meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0009-keytable-restrict-installation-of-50-rc_keymap.conf.patch')
| -rw-r--r-- | meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0009-keytable-restrict-installation-of-50-rc_keymap.conf.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0009-keytable-restrict-installation-of-50-rc_keymap.conf.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0009-keytable-restrict-installation-of-50-rc_keymap.conf.patch new file mode 100644 index 0000000000..63a695f8f9 --- /dev/null +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0009-keytable-restrict-installation-of-50-rc_keymap.conf.patch | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | From 01f2c6c58e6f4441df7df8e27eb7919f1f01e310 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Ulrich=20=C3=96lmann?= <u.oelmann@pengutronix.de> | ||
| 3 | Date: Thu, 4 Mar 2021 14:23:40 +0100 | ||
| 4 | Subject: [PATCH] keytable: restrict installation of 50-rc_keymap.conf | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | It is only needed if BPF is effectively used and the package is compiled for a | ||
| 10 | systemd based target. | ||
| 11 | |||
| 12 | Upstream-Status: Backport [https://git.linuxtv.org/v4l-utils.git/commit/?id=01f2c6c58e6f4441df7df8e27eb7919f1f01e310] | ||
| 13 | |||
| 14 | Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> | ||
| 15 | Signed-off-by: Sean Young <sean@mess.org> | ||
| 16 | --- | ||
| 17 | utils/keytable/Makefile.am | 4 ++++ | ||
| 18 | 1 file changed, 4 insertions(+) | ||
| 19 | |||
| 20 | diff --git a/utils/keytable/Makefile.am b/utils/keytable/Makefile.am | ||
| 21 | index c5eb414acf2f..eee61f0e0551 100644 | ||
| 22 | --- a/utils/keytable/Makefile.am | ||
| 23 | +++ b/utils/keytable/Makefile.am | ||
| 24 | @@ -3,9 +3,13 @@ man_MANS = ir-keytable.1 rc_keymap.5 | ||
| 25 | sysconf_DATA = rc_maps.cfg | ||
| 26 | keytablesystem_DATA = $(srcdir)/rc_keymaps/* | ||
| 27 | udevrules_DATA = 70-infrared.rules | ||
| 28 | +if WITH_BPF | ||
| 29 | +if HAVE_SYSTEMD | ||
| 30 | if HAVE_UDEVDSYSCALLFILTER | ||
| 31 | systemdsystemunit_DATA = 50-rc_keymap.conf | ||
| 32 | endif | ||
| 33 | +endif | ||
| 34 | +endif | ||
| 35 | |||
| 36 | ir_keytable_SOURCES = keytable.c parse.h ir-encode.c ir-encode.h toml.c toml.h keymap.c keymap.h | ||
| 37 | |||
| 38 | -- | ||
| 39 | 2.29.2 | ||
| 40 | |||
