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'),
|
2024-10-17 17:14:28 +01:00
|
|
|
'-I', join_paths(meson.current_source_dir(), 'include/arch/' + arch_dict[cpu]),
|
2023-12-02 23:24:37 +00:00
|
|
|
'-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-17 20:01:40 +00:00
|
|
|
subdir('c')
|