mirror of
https://github.com/JakeHillion/scx.git
synced 2024-11-30 21:10:23 +00:00
e9a9d32ab6
- combine c and kernel-examples as it's confusing to have both - rename 'rust-user' and 'c-user' to just 'rust' and 'c', which is simpler - update and fix sync-to-kernel.sh
15 lines
572 B
Meson
15 lines
572 B
Meson
# BPF compilation uses the gen_bpf_o generator. The following should be
|
|
# passed in as extra_args.
|
|
bpf_includes = ['-I', join_paths(meson.current_source_dir(), 'include'),
|
|
'-I', join_paths(meson.current_source_dir(), 'include/vmlinux'),
|
|
'-I', join_paths(meson.current_source_dir(), 'include/bpf-compat'),]
|
|
|
|
# Common include paths for user C compilation. The following should be
|
|
# passed in as executable::include_directories.
|
|
user_c_includes = include_directories('include')
|
|
|
|
if get_option('enable_rust')
|
|
subdir('rust')
|
|
endif
|
|
subdir('c')
|