pid1: simplify bpf meson import

This commit is contained in:
Lennart Poettering
2023-03-16 15:37:04 +01:00
parent 4d3ef2d1a2
commit 906dff812e

View File

@@ -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(