path: root/v4l-utils.spec.in
diff options
authorSean Young <sean@mess.org>2018-05-20 20:10:47 (GMT)
committerSean Young <sean@mess.org>2018-08-13 09:15:52 (GMT)
commitd6025b0e8c7f57b0f9390f987acc5eed57360d80 (patch)
tree1922f486adc601bbc198aa67fbc7aef81361a4d4 /v4l-utils.spec.in
parent83062bda386de80f6bcf86da83ec490678b66081 (diff)
keytable: add support for BPF based protocols
We use a modified version of samples/bpf/bpf_load.c from the linux kernel tree to load elf based BPF protocols and display the BPF program names. Any global int variables can be overrided from the command line. The immediate values are patched in the BPF LD instructions. Write a BPF protocol decoder in C, and compile with: clang -O2 -c --target=bpf foo.c Now you can load the object file like so: ir-keytable -p foo.o -v Any parameters can be specified using -e name=value. Signed-off-by: Sean Young <sean@mess.org>
Diffstat (limited to 'v4l-utils.spec.in')
1 files changed, 1 insertions, 1 deletions
diff --git a/v4l-utils.spec.in b/v4l-utils.spec.in
index bdbb27b..f7be08b 100644
--- a/v4l-utils.spec.in
+++ b/v4l-utils.spec.in
@@ -10,7 +10,7 @@ Source0: http://linuxtv.org/downloads/v4l-utils/v4l-utils-%{version}.tar.
Source1: qv4l2.desktop
Source2: qv4l2.svg
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: qt4-devel libsysfs-devel kernel-headers desktop-file-utils
+BuildRequires: qt4-devel libsysfs-devel kernel-headers desktop-file-utils elfutils-libelf-devel
# For /etc/udev/rules.d ownership
Requires: udev
Requires: libv4l = %{version}-%{release}

Privacy Policy