From 906dff812ed444c032e4bc5ad6fbf59e3c133ed9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 16 Mar 2023 15:37:04 +0100 Subject: [PATCH] pid1: simplify bpf meson import --- src/core/meson.build | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/core/meson.build b/src/core/meson.build index ac0107a753a..1a1b8b310d6 100644 --- a/src/core/meson.build +++ b/src/core/meson.build @@ -75,15 +75,14 @@ if conf.get('BPF_FRAMEWORK') == 1 endif subdir('bpf/socket_bind') -if conf.get('BPF_FRAMEWORK') == 1 - libcore_sources += [socket_bind_skel_h] - subdir('bpf/restrict_fs') - libcore_sources += [restrict_fs_skel_h] -endif - +subdir('bpf/restrict_fs') subdir('bpf/restrict_ifaces') + if conf.get('BPF_FRAMEWORK') == 1 - libcore_sources += [restrict_ifaces_skel_h] + libcore_sources += [ + socket_bind_skel_h, + restrict_fs_skel_h, + restrict_ifaces_skel_h] endif load_fragment_gperf_gperf = custom_target( -- 2.47.3