From ff65aa88a1ff3f02cc10e5a6e2af865b0c97f4fc Mon Sep 17 00:00:00 2001
From: Matthias Reichl <hias@horus.com>
Date: Sat, 8 Feb 2020 21:42:06 +0100
Subject: [PATCH] disable bpf decoder build and drop bpf dependency on clang

Signed-off-by: Matthias Reichl <hias@horus.com>
---
 meson.build                | 2 +-
 utils/keytable/meson.build | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meson.build b/meson.build
index 233cbab0..be844f9c 100644
--- a/meson.build
+++ b/meson.build
@@ -70,7 +70,7 @@ endif
 v4l2_utils_incdir = include_directories(v4l2_utils_incdir_arr)
 
 prog_bash = find_program('bash')
-prog_clang = find_program('clang', required : get_option('bpf'))
+#prog_clang = find_program('clang', required : get_option('bpf'))
 prog_doxygen = find_program('doxygen', required : get_option('doxygen-doc'))
 prog_grep = find_program('grep')
 prog_perl = find_program('perl')
diff --git a/utils/keytable/meson.build b/utils/keytable/meson.build
index 0ca08a18..fa8fbede 100644
--- a/utils/keytable/meson.build
+++ b/utils/keytable/meson.build
@@ -21,7 +21,7 @@ ir_keytable_c_args = [
     '-DIR_KEYTABLE_USER_DIR="@0@"'.format(ir_keytable_user_dir),
 ]
 
-ir_bpf_enabled = prog_clang.found() and dep_libbpf.found() and dep_libelf.found()
+ir_bpf_enabled = dep_libbpf.found() and dep_libelf.found()
 
 if ir_bpf_enabled
     ir_keytable_sources += files(
@@ -35,7 +35,7 @@ if ir_bpf_enabled
     ir_keytable_c_args += [
         '-DHAVE_BPF',
     ]
-    subdir('bpf_protocols')
+    #subdir('bpf_protocols')
 endif
 
 ir_keytable_incdir = [
-- 
2.34.1

