2023-11-28 00:47:04 +00:00
|
|
|
# BPF compilation uses the gen_bpf_o generator. The following should be
|
|
|
|
# passed in as extra_args.
|
2023-12-03 22:47:23 +00:00
|
|
|
bpf_includes = ['-I', join_paths(meson.current_source_dir(), 'include'),
|
2023-12-02 23:24:37 +00:00
|
|
|
'-I', join_paths(meson.current_source_dir(), 'include/vmlinux'),
|
|
|
|
'-I', join_paths(meson.current_source_dir(), 'include/bpf-compat'),]
|
2023-11-28 00:47:04 +00:00
|
|
|
|
|
|
|
# Common include paths for user C compilation. The following should be
|
|
|
|
# passed in as executable::include_directories.
|
2023-12-03 22:47:23 +00:00
|
|
|
user_c_includes = include_directories('include')
|
2023-11-28 00:47:04 +00:00
|
|
|
|
2023-12-09 13:20:44 +00:00
|
|
|
if get_option('enable_rust')
|
2023-12-17 20:01:40 +00:00
|
|
|
subdir('rust')
|
2023-12-09 13:20:44 +00:00
|
|
|
endif
|
2023-12-17 20:01:40 +00:00
|
|
|
subdir('c')
|