]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
pid1: simplify bpf meson import 27380/head
authorLennart Poettering <lennart@poettering.net>
Thu, 16 Mar 2023 14:37:04 +0000 (15:37 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 24 Apr 2023 15:10:08 +0000 (17:10 +0200)
src/core/meson.build

index ac0107a753aec0a6a31cf9383a38c9cb9b87f108..1a1b8b310d642a8d542f2ab5b499da0a9e5e0d01 100644 (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(