diff mbox series

[v6,03/13,FIXUP] meson: Drop unneeded bpf option check

Message ID 20220829013327.5791-4-laurent.pinchart@ideasonboard.com (mailing list archive)
State New, archived
Headers show
Series Add support for meson building | expand

Commit Message

Laurent Pinchart Aug. 29, 2022, 1:33 a.m. UTC
There is no need to manually check for the 'bpf' option to decide
whether or not to compile bpf support in the keytable utils, the
libbpf_dep dependency already provides that information.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 utils/keytable/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/utils/keytable/meson.build b/utils/keytable/meson.build
index d5aad2628468..0ca84fd1871e 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),
 ]
 
-if not get_option('bpf').disabled() and prog_clang.found() and dep_libbpf.found() and dep_libelf.found()
+if prog_clang.found() and dep_libbpf.found() and dep_libelf.found()
     ir_keytable_sources += files(
         'bpf_load.c',
         'bpf_load.h',