mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-20 19:50:07 +01:00
Add CLAT BPF program and build machinery (fixes)
This commit is contained in:
parent
b75c247b6d
commit
3919f06e98
2 changed files with 1 additions and 2 deletions
|
|
@ -119,7 +119,6 @@ bpf_gcc_flags = [
|
||||||
clang_arch_flag = '-D__@0@__'.format(host_machine.cpu_family())
|
clang_arch_flag = '-D__@0@__'.format(host_machine.cpu_family())
|
||||||
|
|
||||||
libbpf_include_dir = dependency('libbpf').get_variable(pkgconfig : 'includedir')
|
libbpf_include_dir = dependency('libbpf').get_variable(pkgconfig : 'includedir')
|
||||||
libxdp_include_dir = dependency('libxdp').get_variable(pkgconfig : 'includedir')
|
|
||||||
|
|
||||||
# Generate defines that are appropriate to tell the compiler what architecture
|
# Generate defines that are appropriate to tell the compiler what architecture
|
||||||
# we're compiling for. By default we just map meson's cpu_family to __<cpu_family>__.
|
# we're compiling for. By default we just map meson's cpu_family to __<cpu_family>__.
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ base_sources_addon = []
|
||||||
base_deps_addon = []
|
base_deps_addon = []
|
||||||
if enable_clat
|
if enable_clat
|
||||||
base_sources_addon += [clat_skel_h]
|
base_sources_addon += [clat_skel_h]
|
||||||
base_deps_addon += [libbpf, libxdp]
|
base_deps_addon += [libbpf]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
libNetworkManagerBase = static_library(
|
libNetworkManagerBase = static_library(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue