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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx>
---
 utils/keytable/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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',
-- 
Regards,

Laurent Pinchart




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux